Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
gameplaypaused.h
1 #pragma once
2 
3 #include "gamestate/gamestate.h"
4 
5 #include "utils/statemachine/keytrigger.h"
6 
7 
8 class GamePlay;
9 
10 class GamePlayPaused: public GameState {
11 public:
12  GamePlayPaused(GamePlay* gamePlay);
13 
14  Trigger& continueTrigger();
15 
16  virtual void update(float deltaSec) override;
17 
18  virtual void onEntered() override;
19  virtual void onLeft() override;
20 
21 
22 protected:
23  GamePlay* m_gamePlay;
24 
25  KeyTrigger m_continueTrigger;
26 };
27 
Definition: gamestate.h:20
Definition: keytrigger.h:13
virtual void update(float deltaSec) override
Definition: gameplaypaused.cpp:22
virtual void onLeft() override
Definition: gameplaypaused.cpp:31
Definition: gameplay.h:20
virtual void onEntered() override
Definition: gameplaypaused.cpp:27
Definition: trigger.h:11
Definition: gameplaypaused.h:10