Last change
on this file since 604 was
2,
checked in by Sam Hocevar, 17 years ago
|
- imported original 0.7.0 tarball
|
File size:
479 bytes
|
Line | |
---|
1 | #include "human.hpp" |
---|
2 | #include "game.hpp" |
---|
3 | |
---|
4 | |
---|
5 | void human::do_damage(int amount, game_object *from) |
---|
6 | { |
---|
7 | game_object::do_damage(amount,from); |
---|
8 | the_game->show_help("Ouch, that really hurt!"); |
---|
9 | |
---|
10 | // if (!gravity()) |
---|
11 | // set_state(flinch); |
---|
12 | } |
---|
13 | |
---|
14 | |
---|
15 | int human::move(int cx, int cy, int button) |
---|
16 | { |
---|
17 | /* if (state==hanging) |
---|
18 | { |
---|
19 | int y_moveup[15] |
---|
20 | if (end_of_sequence()) |
---|
21 | { |
---|
22 | int xv=direction,yv |
---|
23 | |
---|
24 | |
---|
25 | }*/ |
---|
26 | return game_object::move(cx,cy,button); |
---|
27 | |
---|
28 | |
---|
29 | |
---|
30 | } |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.