#include <objectinfo.h>
Public Member Functions | |
ObjectInfo (ifstream *f) | |
~ObjectInfo () | |
bool | IsShooting () |
MissileInfo * | GetMissileInfo (int m) |
int | GetNMissiles () |
int | GetBehaviour () |
int | GetNBehaviourAnims () |
int | GetWeaknessTime () |
int | GetHealth () |
float | GetMotionSpeed () |
int | GetTouchChangeHealth () |
int | GetTouchChangePushStr () |
int | GetTouchChangePushDir () |
int | GetDeathChangeScore () |
int | GetTouchChangeArrows () |
int | GetAlignment () |
int | GetFlags () |
ObjectInfo * | GetDeathObjectInfo () |
void | SetDeathObjectInfo (ObjectInfo *oi) |
AnimationInfo * | GetBehaviourAnim (int a) |
void | SetBehaviourAnim (int a, AnimationInfo *an) |
Private Attributes | |
string | title |
int | alignment |
int | weakness_time |
int | flags |
int | behaviour |
float | motion_speed |
int | nbehaviour_anims |
AnimationInfo ** | behaviour_anims |
int | nmissiles |
MissileInfo ** | missiles |
int | health |
int | touch_change_health |
int | touch_change_arrows |
int | touch_change_score |
int | touch_change_pushdir |
int | touch_change_pushstr |
ObjectInfo * | death_obj_info |
int | death_change_score |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
calculated from behaviour |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
number of msecs before the object automatically dies |