#include <jawbone.h>
Inheritance diagram for Jawbone_object:


Public Member Functions | |
| Jawbone_object (int shapenum, int framenum, unsigned int tilex, unsigned int tiley, unsigned int lft, char res=0) | |
| Jawbone_object () | |
| virtual bool | add (Game_object *obj, bool dont_check=false, bool combine=false) |
| virtual void | remove (Game_object *obj) |
| virtual Game_object * | attacked (Actor *attacker, int weapon_shape=0, int ammo_shape=0) |
Private Member Functions | |
| void | find_teeth () |
| void | update_frame () |
Private Attributes | |
| Game_object * | teeth [19] |
| int | toothcount |
Friends | |
| class | Jawbone_gump |
Definition at line 24 of file jawbone.h.
| Jawbone_object::Jawbone_object | ( | int | shapenum, | |
| int | framenum, | |||
| unsigned int | tilex, | |||
| unsigned int | tiley, | |||
| unsigned int | lft, | |||
| char | res = 0 | |||
| ) | [inline] |
| bool Jawbone_object::add | ( | Game_object * | obj, | |
| bool | dont_check = false, |
|||
| bool | combine = false | |||
| ) | [virtual] |
Reimplemented from Container_game_object.
Definition at line 27 of file jawbone.cc.
References Container_game_object::add(), find_teeth(), Exult_server::obj, teeth, toothcount, and update_frame().
Referenced by Jawbone_gump::add().
Here is the call graph for this function:

| void Jawbone_object::remove | ( | Game_object * | obj | ) | [virtual] |
Reimplemented from Container_game_object.
Definition at line 51 of file jawbone.cc.
References find_teeth(), Exult_server::obj, Container_game_object::remove(), and update_frame().
Here is the call graph for this function:

| virtual Game_object* Jawbone_object::attacked | ( | Actor * | attacker, | |
| int | weapon_shape = 0, |
|||
| int | ammo_shape = 0 | |||
| ) | [inline, virtual] |
| void Jawbone_object::find_teeth | ( | ) | [private] |
Definition at line 59 of file jawbone.cc.
References Game_object::get_next(), Container_game_object::get_objects(), T_Object_list< T >::is_empty(), Game_object::next, Exult_server::obj, Container_game_object::objects, teeth, and toothcount.
Referenced by add(), Jawbone_gump::find_object(), Jawbone_gump::paint(), and remove().
Here is the call graph for this function:

| void Jawbone_object::update_frame | ( | ) | [private] |
Definition at line 86 of file jawbone.cc.
References ShapeID::set_frame(), and toothcount.
Referenced by add(), and remove().
Here is the call graph for this function:

friend class Jawbone_gump [friend] |
Game_object* Jawbone_object::teeth[19] [private] |
Definition at line 49 of file jawbone.h.
Referenced by add(), Jawbone_gump::find_object(), find_teeth(), and Jawbone_gump::paint().
int Jawbone_object::toothcount [private] |
1.5.1