granatier
gameview.h
Go to the documentation of this file.
This class manages the drawing of each element of the Game instance.
Definition: gameview.h:32
void keyPressed(QKeyEvent *p_event)
Emitted on key press event for the Game instance.
void keyReleased(QKeyEvent *p_event)
Emitted on key release event for the Game instance.
void resizeEvent(QResizeEvent *p_event)
Resizes the items when the view is resized.
Definition: gameview.cpp:43
This class manages the game main loop : it regularly checks the key press events, computes the charac...
Definition: game.h:43
void keyReleaseEvent(QKeyEvent *p_event)
Manages the player actions by hanlding the key release events.
Definition: gameview.cpp:66
void keyPressEvent(QKeyEvent *p_event)
Manages the player actions by hanlding the key press events.
Definition: gameview.cpp:57
This class contains all the Game elements to be drawn on the screen by the GameView instance...
Definition: gamescene.h:50
GameView(GameScene *p_scene, Game *p_game)
Creates a new GameView instance.
Definition: gameview.cpp:26
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.