repo.or.cz
/
sdlbotor.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Acid.
[sdlbotor.git]
/
LivingMapObject.h
blob
bec430b1398ffea91968faa20830fde8cd79ce24
1
#ifndef LIVINGMAPOBJECT_H
2
#define LIVINGMAPOBJECT_H
3
4
#include
"MapObject.h"
5
6
namespace
botor
7
{
8
9
class
LivingMapObject
:
public
MapObject
10
{
11
private
:
12
13
bool
alive
;
14
15
public
:
16
17
LivingMapObject
(
Uint8 X
=
0
,
Uint8 Y
=
0
);
18
virtual
~
LivingMapObject
( );
19
20
virtual
void
OnDead
();
21
22
bool
isAlive
();
23
24
void
Die
();
25
26
void
Reanimate
();
27
28
};
29
30
}
31
32
#endif