granatier
element.cpp
Go to the documentation of this file.
21 Element::Element(qreal p_x, qreal p_y, Arena* p_arena) : m_xInit(p_x), m_yInit(p_y), m_arena(p_arena)
void initCoordinate()
Initializes Element x-coordinate and y-coordinate with initial values.
Definition: element.cpp:83
void setInitialCoordinates(qreal p_x, qreal p_y)
Sets the path initial position.
Definition: element.cpp:40
Element(qreal p_x, qreal p_y, Arena *p_arena)
Creates a new Element instance.
Definition: element.cpp:21
virtual void doActionOnCollision(Player *p_player)
Computes an action on a collision with the Player.
Definition: element.cpp:30
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.