HoverRace  2.0
SessionLoadingScene.h
Go to the documentation of this file.
1 
2 // SessionLoadingScene.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 "../../engine/Display/Res.h"
25 
26 #include "LoadingScene.h"
27 
28 namespace HoverRace {
29  namespace Display {
30  class Picture;
31  class Texture;
32  }
33 }
34 
35 namespace HoverRace {
36 namespace Client {
37 
44 {
46 
47 public:
49  std::shared_ptr<Display::Res<Display::Texture>> mapRes);
50  virtual ~SessionLoadingScene();
51 
52 public:
53  void OnPhaseTransition(double progress) override;
54 
55 private:
56  std::shared_ptr<Display::Picture> mapPic;
57 };
58 
59 } // namespace Client
60 } // namespace HoverRace
Interface for game client shells.
Definition: GameDirector.h:57
Base class for UI-centric scenes.
Definition: UiScene.h:42
GameDirector & director
Definition: TestLabScene.cpp:160
Base class for display managers.
Definition: Display.h:73
Base class for loadable resources.
Definition: Res.h:83
Definition: Announcement.h:24
Base class for "Please Wait" loading scenes.
Definition: LoadingScene.h:52
Something pleasant to look at while the track loads, the server starts, and all players connect...
Definition: SessionLoadingScene.h:43
std::shared_ptr< Display::Picture > mapPic
Definition: SessionLoadingScene.h:56