#include <character.h>
Public Member Functions | |
| Character () | |
| ~Character () | |
| void | set_paul_info (paul_info *p) |
| void | set_tileinfo (int first_prop, int second_prop, int third_prop) |
| virtual void | update () |
Private Attributes | |
| int | direction |
| int | ranged |
| int | hitpoints |
| int | damage |
| int | num_frames |
Definition at line 47 of file character.h.
| Character::Character | ( | ) |
Definition at line 32 of file character.cpp.
References FGEntity::animate, num_frames, FGEntity::onscreen, and FGEntity::walkable.
| Character::~Character | ( | ) |
Definition at line 39 of file character.cpp.
| void Character::set_paul_info | ( | paul_info * | p | ) |
Reimplemented from FGEntity.
Definition at line 42 of file character.cpp.
References FGEntity::pinfo.
Referenced by main().
| void Character::set_tileinfo | ( | int | first_prop, | |
| int | second_prop, | |||
| int | third_prop | |||
| ) |
Definition at line 46 of file character.cpp.
References damage, hitpoints, ranged, and FGEntity::stationary.
Referenced by main().
| void Character::update | ( | ) | [virtual] |
Implements FGEntity.
Definition at line 53 of file character.cpp.
References FGEntity::box, CHARACTER_DEBUG, FGEntity::current_box, FGEntity::onscreen, FGEntity::pinfo, paul_info::tile_ax_in_win, paul_info::tile_ay_in_win, paul_info::tile_start_x, paul_info::tile_start_y, paul_info::tile_stop_x, paul_info::tile_stop_y, and paul_info::tilesize.
int Character::direction [private] |
int Character::ranged [private] |
int Character::hitpoints [private] |
int Character::damage [private] |
int Character::num_frames [private] |
1.5.5