Roguelike
 All Classes Namespaces Functions Variables Typedefs Friends Pages
actor.h
1 
22 #ifndef __ACTOR_H
23 #define __ACTOR_H
24 
25 #include <SDL/SDL.h>
26 
30 class Actor
31 {
32  private:
37  int x;
38 
43  int y;
44 
49  char sprite;
50 
54  Uint32 color;
55  public:
56 
60  Actor(int _x, int _y, char _sprite, Uint32 col);
61 
65  int get_x();
66  int get_y();
67  char get_char();
68  Uint32 get_color();
69 };
70 
71 #endif
int x
Definition: actor.h:37
Actor(int _x, int _y, char _sprite, Uint32 col)
Definition: actor.cpp:24
int get_x()
Definition: actor.cpp:32
Uint32 color
Definition: actor.h:54
int y
Definition: actor.h:43
Definition: actor.h:30
char sprite
Definition: actor.h:49