HoverRace  2.0
DemoGameScene.h
Go to the documentation of this file.
1 
2 // DemoGameScene.h
3 //
4 // Copyright (c) 2014-2016 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 "GameScene.h"
25 
26 namespace HoverRace {
27 namespace Client {
28 
33 class DemoGameScene : public GameScene
34 {
35  using SUPER = GameScene;
36 
37 public:
40  std::shared_ptr<Util::Loader> loader);
41  virtual ~DemoGameScene();
42 
43 public:
45  ConnList&) override { }
47  ConnList&) override { }
48 
49 protected:
50  void OnFinishedLoading() override;
51 };
52 
53 } // namespace Client
54 } // namespace HoverRace
Base for scenes that render and interact with tracks.
Definition: GameScene.h:69
Interface for game client shells.
Definition: GameDirector.h:57
Display::Display & display
Definition: GameScene.h:130
void AttachController(Control::InputEventController &, ConnList &) override
Configure the controller mappings.
Definition: DemoGameScene.h:44
void OnFinishedLoading() override
Definition: DemoGameScene.cpp:78
Demo mode, used for the main menu background.
Definition: DemoGameScene.h:33
void DetachController(Control::InputEventController &, ConnList &) override
Remove the controller mappings.
Definition: DemoGameScene.h:46
Base class for display managers.
Definition: Display.h:73
Script::Core & scripting
Definition: GameScene.h:132
virtual ~DemoGameScene()
Definition: DemoGameScene.cpp:74
GameDirector & director
Definition: GameScene.h:131
Tracks connections as a group.
Definition: Scene.h:69
GameScene(const std::string &name, Display::Display &display, GameDirector &director, Script::Core &scripting, std::shared_ptr< Rules > rules, std::shared_ptr< Util::Loader > loader)
Definition: GameScene.cpp:66
DemoGameScene(Display::Display &display, GameDirector &director, Script::Core &scripting, std::shared_ptr< Util::Loader > loader)
Definition: DemoGameScene.cpp:68
Definition: Announcement.h:24
Translates input events into actions.
Definition: Controller.h:106
A script environment.
Definition: Core.h:66