granatier
cell.cpp
Go to the documentation of this file.
43 (element->getType() == Granatier::Element::PLAYER && (p_element == 0 || p_element->getType() != Granatier::Element::PLAYER)))
void clear()
Definition: granatierglobals.h:93
void removeAt(int i)
QList< Element * > getElements() const
Gets all the Elements that are on the Cell.
Definition: cell.cpp:62
int indexOf(const T &value, int from) const
void append(const T &value)
bool isEmpty() const
Definition: granatierglobals.h:75
This class describes the common characteristics and behaviour of any game Element (character or item)...
Definition: element.h:32
Definition: granatierglobals.h:94
bool contains(const T &value) const
Definition: granatierglobals.h:92
bool isWalkable(Element *p_element) const
Returns if it is possible to move into the cell or not, because of a wall, bomb, etc.
Definition: cell.cpp:30
void removeElement(Element *p_element)
Removes the Element that is on the Cell.
Definition: cell.cpp:88
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.