kapman
Pill Class Reference
#include <pill.h>
Inheritance diagram for Pill:
Public Member Functions | |
Pill (qreal p_x, qreal p_y, Maze *p_maze, const QString &p_imageId) | |
~Pill () | |
void | doActionOnCollision (Kapman *p_kapman) |
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) |
Static Public Attributes | |
static const int | POINTS = 10 |
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
Pill::Pill | ( | qreal | p_x, |
qreal | p_y, | ||
Maze * | p_maze, | ||
const QString & | p_imageId | ||
) |
Member Function Documentation
|
virtual |
Member Data Documentation
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: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.