HoverRace  2.0
PracticeSetupScene.h
Go to the documentation of this file.
1 
2 // PracticeSetupScene.h
3 //
4 // Copyright (c) 2013-2015 Michael Imamura.
5 //
6 // Licensed under GrokkSoft HoverRace SourceCode License v1.0(the "License");
7 // you may not use this file except in compliance with the License.
8 //
9 // A copy of the license should have been attached to the package from which
10 // you have taken this file. If you can not find the license you can not use
11 // this file.
12 //
13 //
14 // The author makes no representations about the suitability of
15 // this software for any purpose. It is provided "as is" "AS IS",
16 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
17 // implied.
18 //
19 // See the License for the specific language governing permissions
20 // and limitations under the License.
21 
22 #pragma once
23 
24 #include "../../engine/Display/Res.h"
25 
26 #include "GameDirector.h"
27 
28 #include "DialogScene.h"
29 
30 namespace HoverRace {
31  namespace Client {
32  class RulebookLibrary;
33  }
34  namespace Display {
35  class Display;
36  class Texture;
37  }
38 }
39 
40 namespace HoverRace {
41 namespace Client {
42 
48 {
49  using SUPER = DialogScene;
50 
51 public:
53  RulebookLibrary &rulebookLibrary);
54  virtual ~PracticeSetupScene();
55 
56 public:
57  void OnScenePushed() override;
58 
59 private:
63  std::shared_ptr<Display::Res<Display::Texture>> bgTex;
64 };
65 
66 } // namespace Client
67 } // namespace HoverRace
Interface for game client shells.
Definition: GameDirector.h:57
GameDirector & director
Definition: TestLabScene.cpp:160
Launcher for practice (single-player) session.
Definition: PracticeSetupScene.h:47
std::shared_ptr< Display::Res< Display::Texture > > bgTex
Definition: PracticeSetupScene.h:63
Base class for scenes with a title and status area.
Definition: DialogScene.h:46
Base class for display managers.
Definition: Display.h:73
Base class for full-scene menus and the like.
Definition: FormScene.h:48
Display::Display & display
Definition: PracticeSetupScene.h:60
The collection of all registered rulebooks.
Definition: RulebookLibrary.h:40
Definition: Announcement.h:24
GameDirector & director
Definition: PracticeSetupScene.h:61
RulebookLibrary & rulebookLibrary
Definition: PracticeSetupScene.h:62