granatier
Bonus Class Reference
#include <bonus.h>
Inheritance diagram for Bonus:

Public Member Functions | |
| Bonus (qreal p_x, qreal p_y, Arena *p_arena, Granatier::Bonus::Type bonusType) | |
| ~Bonus () | |
| void | doActionOnCollision (Player *p_player) |
| Granatier::Bonus::Type | getBonusType () const |
| bool | isDestroyed () const |
| bool | isTaken () const |
| void | setDestroyed () |
| void | setTaken () |
Public Member Functions inherited from Element | |
| Element (qreal p_x, qreal p_y, Arena *p_arena) | |
| ~Element () | |
| QString | getImageId () const |
| Granatier::Element::Type | getType () const |
| qreal | getX () const |
| qreal | getY () const |
| void | initCoordinate () |
| void | setArena (Arena *p_arena) |
| void | setImageId (const QString &p_imageId) |
| void | setInitialCoordinates (qreal p_x, qreal p_y) |
| void | setX (qreal p_x) |
| void | setY (qreal p_y) |
Additional Inherited Members | |
Signals inherited from Element | |
| void | moved (qreal p_x, qreal p_y) |
Protected Attributes inherited from Element | |
| Arena * | m_arena |
| QString | m_imageId |
| Granatier::Element::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, | ||
| Arena * | p_arena, | ||
| Granatier::Bonus::Type | bonusType | ||
| ) |
Member Function Documentation
|
virtual |
| Granatier::Bonus::Type Bonus::getBonusType | ( | ) | const |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:43:51 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:43:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from