Emergency 20 Dokumentation  4.2.0
MultiplayerScoreOverview.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Header guard ]
6 //[-------------------------------------------------------]
7 #pragma once
8 
9 
10 //[-------------------------------------------------------]
11 //[ Includes ]
12 //[-------------------------------------------------------]
13 #include <qsf/gui/GuiDocument.h>
14 #include <qsf/math/Color3.h>
15 #include <qsf/job/JobProxy.h>
16 
17 
18 //[-------------------------------------------------------]
19 //[ Namespace ]
20 //[-------------------------------------------------------]
21 namespace em5
22 {
23 
24 
25  //[-------------------------------------------------------]
26  //[ Classes ]
27  //[-------------------------------------------------------]
33  {
34 
35 
36  //[-------------------------------------------------------]
37  //[ Public methods ]
38  //[-------------------------------------------------------]
39  public:
40  explicit MultiplayerScoreOverview(qsf::GuiContext& guiContext);
41  virtual ~MultiplayerScoreOverview();
42 
43 
44  //[-------------------------------------------------------]
45  //[ Private virtual qsf::GuiDocument methods ]
46  //[-------------------------------------------------------]
47  private:
48  virtual bool onPreShow() override;
49  virtual void onPreHide() override;
50 
51 
52  //[-------------------------------------------------------]
53  //[ Private methods ]
54  //[-------------------------------------------------------]
55  private:
56  void updatePlayerScore();
57 
58 
59  //[-------------------------------------------------------]
60  //[ Private data ]
61  //[-------------------------------------------------------]
62  private:
63  qsf::JobProxy mUpdateJobProxy;
64 
65 
66  };
67 
68 
69 //[-------------------------------------------------------]
70 //[ Namespace ]
71 //[-------------------------------------------------------]
72 } // em5
Definition: ActionPriority.h:13
Job proxy class.
Definition: JobProxy.h:51
Graphical User Interface (GUI) document base class.
Definition: GuiDocument.h:51
EMERGENCY 5 in-game debug window for triggering special "actions", i.e. add player credits...
Definition: MultiplayerScoreOverview.h:32
Ingame Graphical User Interface (GUI) context class.
Definition: GuiContext.h:62
MultiplayerScoreOverview(qsf::GuiContext &guiContext)