Peoplemon  0.1.0
Peoplemon 3 game source documentation
TrainerIntro.hpp
Go to the documentation of this file.
1 #ifndef GAME_STATE_BATTLE_TRAINERINTRO_HPP
2 #define GAME_STATE_BATTLE_TRAINERINTRO_HPP
3 
4 #include <BLIB/Graphics.hpp>
6 
7 namespace game
8 {
9 namespace state
10 {
11 namespace intros
12 {
13 class TrainerSequence : public SequenceBase {
14 public:
16  virtual ~TrainerSequence() = default;
17  virtual void start(bl::engine::Engine& engine) override;
18  virtual void update(float dt) override;
19  virtual bool finished() const override;
20 
21 private:
22  bl::engine::Engine* e;
23  float time;
24  bl::rc::res::TextureRef ballTxtr;
25  bl::gfx::Sprite ball;
26  bl::gfx::Rectangle background;
27  void* uniform;
28 };
29 
30 } // namespace intros
31 } // namespace state
32 } // namespace game
33 
34 #endif
Parent namespace for all functionality unique to the game.
virtual void update(float dt) override
virtual bool finished() const override
virtual void start(bl::engine::Engine &engine) override