source: abuse/tags/pd/abuse/src/human.c @ 49

Last change on this file since 49 was 49, checked in by Sam Hocevar, 11 years ago
  • Imported original public domain release, for future reference.
  • Property svn:keywords set to Id
File size: 479 bytes
Line 
1#include "human.hpp"
2#include "game.hpp"
3
4
5void 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
15int 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.