forked from littlebalup/ZeldaROTH
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Caisse.h
40 lines (30 loc) · 753 Bytes
/
Caisse.h
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
35
36
37
38
39
40
/*
Zelda Return of the Hylian
Copyright (C) 2005-2008 Vincent Jouillat
Please send bugreports with examples or suggestions to www.zeldaroth.fr
*/
#ifndef __CAISSE_H__
#define __CAISSE_H__
#include "Personnage.h"
class Jeu;
class Caisse : public Personnage {
public :
Caisse(Jeu* jeu, int type, int i, int j);
~Caisse();
void draw(SDL_Surface* gpScreen);
void moveX(int i);
void moveY(int i);
void revie();
Caisse* getSuivant();
bool pousse(Direction dir);
private :
void bouge();
Jeu* gpJeu;
int id;
int pousseX;
int pousseY;
Direction direction;
int sx;
int sy;
};
#endif // Caisse.h