#include <character.hh>
objects::Characterのコラボレーション図

Public メソッド | |
| Character (int id, const std::string &name) | |
| int | get_id () const |
| const std::string & | get_name () const |
| void | set_name (const std::string &name) |
| int | get_pos_x () const |
| int | get_pos_y () const |
| int | get_pos_z () const |
| void | set_pos_x (int x) |
| void | set_pos_y (int y) |
| void | set_pos_z (int z) |
| int | get_class () const |
| void | set_class (int character_class) |
| int | get_hp () const |
| void | set_hp (int hp) |
| bool | is_dead () const |
| void | set_dead (bool dead) |
| int | get_status_flag () const |
| void | set_status_flag (int i) |
| Character * | get_target () const |
| void | set_target (Character *c) |
| bool | is_player () |
| bool | is_monster () |
| bool | is_npc () |
| void | reinitialize () |
Protected 変数 | |
| int | _id |
| std::string | _name |
| int | _pos_x |
| int | _pos_y |
| int | _pos_z |
| int | _class |
| int | _hp |
| bool | _dead |
| int | _status_flag |
| Character * | _target |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.2-20050421