granatier
Block Class Reference
#include <block.h>
Inheritance diagram for Block:
Signals | |
void | startDestructionAnimation () |
Signals inherited from Element | |
void | moved (qreal p_x, qreal p_y) |
Public Member Functions | |
Block (qreal p_x, qreal p_y, Arena *p_arena, const QString &p_imageId) | |
~Block () | |
Bonus * | getBonus () |
void | setBonus (Bonus *bonus) |
void | startDestruction () |
Public Member Functions inherited from Element | |
Element (qreal p_x, qreal p_y, Arena *p_arena) | |
~Element () | |
virtual void | doActionOnCollision (Player *p_player) |
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 | |
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
This class represents a block with the possibility of a bonus inside.
Constructor & Destructor Documentation
Block::Block | ( | qreal | p_x, |
qreal | p_y, | ||
Arena * | p_arena, | ||
const QString & | p_imageId | ||
) |
Member Function Documentation
Bonus * Block::getBonus | ( | ) |
void Block::setBonus | ( | Bonus * | bonus | ) |
|
signal |
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.