[go: up one dir, main page]

Menu

[r8]: / Item.cpp  Maximize  Restore  History

Download this file

35 lines (27 with data), 415 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include "Item.h"
// Constructor
Item::Item(int i, int aTime, int dEffect)
{
id = i;
animationTime = aTime;
dieEffect = dEffect;
}
// Default destructor
Item::~Item()
{
}
void Item::init()
{
}
void Item::loadAnimatedClips(string fileName)
{
}
void Item::draw(SDL_Surface *screen, SDL_Rect *camera)
{
}
void Item::handleInput(SDL_Event *event)
{
}
void Item::update()
{
}