kapman
game.h
Go to the documentation of this file.
void initMaze(const int p_nbRows, const int p_nbColumns)
Initializes a Maze.
Definition: game.cpp:244
void levelStarted(const bool p_newLevel)
Emitted when a level begins, if level up or if a life has been lost.
void pauseChanged(const bool p_pause, const bool p_fromUser)
Emitted when the pause state has changed.
This class manages the game main loop : it regularly checks the key press events, computes the charac...
Definition: game.h:35
static int s_bonusDuration
Timer duration for bonus apparition in medium difficulty.
Definition: game.h:47
void createGhost(QPointF p_position, const QString &p_imageId)
Create the new Ghost.
Definition: game.cpp:240
This class describes the common characteristics and behaviour of any game Element (character or item)...
Definition: element.h:30
static int s_preyStateDuration
Timer duration for prey state in medium difficulty.
Definition: game.h:44
static qreal s_durationRatio
Ratio which modify the timers function of the difficulty.
Definition: game.h:41
void pointsToDisplay(long p_wonPoints, qreal p_xPos, qreal p_yPos)
Emitted when a ghost or a bonus is eaten.
void elementEaten(const qreal p_x, const qreal p_y)
Emitted when an Element has been eaten.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:15 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:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.