granatier
#include <cell.h>
This class represents a Cell of the Arena.
Definition at line 29 of file cell.h.
QList< Element * > Cell::getElements |
( |
| ) |
const |
Gets all the Elements that are on the Cell.
- Returns
- the Elements that are on the Cell
Definition at line 62 of file cell.cpp.
Gets the Elements of Element::Type type that are on the Cell.
- Returns
- the Elements of Element::Type type that are on the Cell
Definition at line 67 of file cell.cpp.
bool Cell::isWalkable |
( |
Element * |
p_element | ) |
const |
Returns if it is possible to move into the cell or not, because of a wall, bomb, etc.
- Returns
- true if it is possible to move into the cell
Definition at line 30 of file cell.cpp.
void Cell::removeElement |
( |
Element * |
p_element | ) |
|
void Cell::setElement |
( |
Element * |
p_element | ) |
|
Sets the Cell type.
- Parameters
-
p_type | the new type to set |
Definition at line 57 of file cell.cpp.
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
KDE's Doxygen guidelines are available online.