YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
BaseBattleWidget.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_CLIENT_BASEBATTLEWIDGET_HPP
2
# define YAPOG_CLIENT_BASEBATTLEWIDGET_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Graphics/Gui/BaseWidget.hpp
"
6
7
namespace
yap
8
{
9
struct
ISprite;
10
struct
IDrawingContext;
11
12
class
DialogBoxWidget;
13
class
WidgetBackground;
14
class
Time;
15
}
// namespace yap
16
17
namespace
ycl
18
{
19
class
BaseBattleWidget
:
public
yap::BaseWidget
20
{
21
public
:
22
BaseBattleWidget
();
23
24
virtual
bool
IsFocusable
()
const
;
25
protected
:
26
virtual
void
HandleMove
(
const
yap::Vector2
& offset);
27
virtual
void
HandleScale
(
const
yap::Vector2
& factor);
28
virtual
void
HandleDraw
(
yap::IDrawingContext
& context);
29
virtual
void
HandleShow
(
bool
isVisible);
30
virtual
void
HandleChangeColor
(
const
sf::Color& color);
31
virtual
void
HandleUpdate
(
const
yap::Time
& dt);
32
};
33
}
// namespace ycl
34
35
#endif // YAPOG_CLIENT_BASEBATTLEWIDGET_HPP
YAPOG.Client
include
Battle
BaseBattleWidget.hpp
Generated on Mon Sep 17 2012 22:24:21 for YAPOG by
1.8.1.1