kapman
Bonus Class Reference
#include <bonus.h>
Inheritance diagram for Bonus:
Public Member Functions | |
Bonus (qreal p_x, qreal p_y, Maze *p_maze, int p_points) | |
~Bonus () | |
void | doActionOnCollision (Kapman *p_kapman) |
void | setPoints (const int p_points) |
Public Member Functions inherited from Element | |
Element (qreal p_x, qreal p_y, Maze *p_maze) | |
~Element () | |
QString | getImageId () const |
int | getPoints () const |
Element::Type | getType () const |
qreal | getX () const |
qreal | getY () const |
void | initCoordinate () |
void | setImageId (const QString &p_imageId) |
void | setX (qreal p_x) |
void | setY (qreal p_y) |
Additional Inherited Members | |
Public Types inherited from Element | |
enum | Type { KAPMAN = 0, GHOST = 1, PILL = 2, ENERGYZER = 3, BONUS = 4 } |
Signals inherited from Element | |
void | moved (qreal p_x, qreal p_y) |
Protected Attributes inherited from Element | |
QString | m_imageId |
Maze * | m_maze |
int | m_points |
Type | m_type |
qreal | m_x |
qreal | m_xInit |
qreal | m_y |
qreal | m_yInit |
Detailed Description
Constructor & Destructor Documentation
Bonus::Bonus | ( | qreal | p_x, |
qreal | p_y, | ||
Maze * | p_maze, | ||
int | p_points | ||
) |
Bonus::~Bonus | ( | ) |
Deletes the Bonus instance.
Member Function Documentation
|
virtual |
void Bonus::setPoints | ( | const int | p_points | ) |
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.