granatier
character.h
Go to the documentation of this file.
This class describes the common characteristics and behaviour of the game characters (Players)...
Definition: character.h:31
Character(qreal p_x, qreal p_y, Arena *p_arena)
Creates a new Character instance.
Definition: character.cpp:23
bool isInLineSight(Character *p_character) const
Checks the Character is in the line of sight of the given other Character.
Definition: character.cpp:100
void move()
Moves the Character function of its current coordinates and speed.
Definition: character.cpp:33
void initSpeed()
Initializes the Character speed considering the difficulty level.
Definition: character.cpp:93
This class describes the common characteristics and behaviour of any game Element (character or item)...
Definition: element.h:32
qreal m_normalSpeed
Reference to the speed of the character when in "normal" behaviour.
Definition: character.h:60
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.