Aolis Engine
0.1.0_alpha1
Adventure Game Engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
include
aolis
object
item
item.h
1
// Class definition of items
2
3
#ifndef AOLIS_ITEM
4
#define AOLIS_ITEM
5
6
#include "../object_sprited.h"
7
8
enum
item_types {
9
GENERIC = 0x00,
10
WEAPON,
11
ARMOR,
12
BATTLE,
13
USEABLE
14
};
15
16
class
Item
:
SpritedObject
{
17
public
:
18
void
setItemType(item_types t);
19
item_types getItemType();
20
bool
isType(item_types t);
21
private
:
22
item_types itype;
23
};
24
25
#endif
/* AOLIS_ITEM */
Generated on Mon Nov 3 2014 18:55:10 for Aolis Engine by
1.8.3.1