YAPOG  0.0.1
Yet Another Pokemon Online Game
UpdateScreen.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_CLIENT_UPDATESCREEN_HPP
2 # define YAPOG_CLIENT_UPDATESCREEN_HPP
3 
4 # include "YAPOG/Macros.hpp"
11 
12 # include <boost/filesystem.hpp>
13 # include "GameScreen/BaseScreen.hpp"
14 
15 namespace ycl
16 {
17  class UpdateScreen : public BaseScreen
18  {
20 
21  public:
22 
23  explicit UpdateScreen (yap::IDrawingContext& context);
24  virtual ~UpdateScreen ();
25 
26  protected:
27 
28  virtual void HandleInit ();
29 
30  virtual void HandleActivate ();
31 
32  virtual void HandleRun (
33  const yap::Time& dt,
34  yap::IDrawingContext& context);
35 
36  private:
37  void Update ();
38  void UpdateContentSize (int value);
39 
51 
53  };
54 } // namespace ycl
55 
56 #endif // YAPOG_CLIENT_UPDATESCREEN_HPP