YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
BattleMoveMenu.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_CLIENT_BATTLEMOVEMENU_HPP
2
# define YAPOG_CLIENT_BATTLEMOVEMENU_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Graphics/Gui/GridMenu.hpp
"
6
# include "
YAPOG/Graphics/Gui/MenuItem.hpp
"
7
8
namespace
ycl
9
{
10
class
BattleMoveMenu
:
public
yap::GridMenu
11
{
12
DISALLOW_COPY
(
BattleMoveMenu
);
13
14
public
:
15
BattleMoveMenu
();
16
virtual
~BattleMoveMenu
();
17
20
yap::MenuItem
&
GetItem
(
int
index);
21
int
GetIndex
(
yap::MenuItem
& menuItem)
const
;
23
26
void
SetItemContent
(
int
index,
const
yap::String
& content);
28
29
private
:
30
void
Add
(
yap::MenuItem
& menuItem,
int
index);
31
32
yap::collection::Map<int, yap::MenuItem*>
moves_
;
33
yap::collection::Map<yap::MenuItem*, int>
indexes_
;
34
};
35
}
// namespace ycl
36
37
#endif // YAPOG_CLIENT_BATTLEMOVEMENU_HPP
YAPOG.Client
include
Battle
BattleMoveMenu.hpp
Generated on Mon Sep 17 2012 22:24:21 for YAPOG by
1.8.1.1