Xonotic
Shambler Class Reference
+ Inheritance diagram for Shambler:
+ Collaboration diagram for Shambler:

Public Member Functions

 ATTRIB (Monster, m_model, entity)
 model More...
 
virtual void Monster ::mr_anim ()
 (BOTH?) sets animations for monster More...
 
virtual void Monster ::mr_death ()
 (SERVER) called when monster dies More...
 
virtual void Monster ::mr_pain ()
 (SERVER) called when monster is damaged More...
 
virtual void Monster ::mr_setup ()
 (SERVER) setup monster data More...
 
virtual void Monster ::mr_think ()
 (SERVER) logic to run every frame More...
 

Public Attributes

vector m_maxs = '41 41 65'
 
vector m_mins = '-41 -41 -31'
 
string monster_name = _("Shambler")
 
int monsterid = 0
 
string netname = "shambler"
 
int spawnflags = MONSTER_SIZE_BROKEN | MON_FLAG_SUPERMONSTER | MON_FLAG_MELEE | MON_FLAG_RANGED
 

Detailed Description

Definition at line 9 of file shambler.qh.

Member Function Documentation

◆ ATTRIB()

Monster::ATTRIB ( Monster  ,
m_model  ,
entity   
)
inherited

model

◆ Monster ::mr_anim()

virtual void Monster::Monster ::mr_anim ( )
inlinevirtualinherited

(BOTH?) sets animations for monster

Definition at line 55 of file monster.qh.

References ENDCLASS, entity(), TC, and vector().

55 { TC(Monster, this); return false; }
#define TC(T, sym)
Definition: _all.inc:82
+ Here is the call graph for this function:

◆ Monster ::mr_death()

virtual void Monster::Monster ::mr_death ( )
inlinevirtualinherited

(SERVER) called when monster dies

Definition at line 51 of file monster.qh.

References TC.

51 { TC(Monster, this); return false; }
#define TC(T, sym)
Definition: _all.inc:82

◆ Monster ::mr_pain()

virtual void Monster::Monster ::mr_pain ( )
inlinevirtualinherited

(SERVER) called when monster is damaged

Definition at line 53 of file monster.qh.

References TC.

53 { TC(Monster, this); return damage_take; }
#define TC(T, sym)
Definition: _all.inc:82

◆ Monster ::mr_setup()

virtual void Monster::Monster ::mr_setup ( )
inlinevirtualinherited

(SERVER) setup monster data

Definition at line 47 of file monster.qh.

References TC.

47 { TC(Monster, this); return false; }
#define TC(T, sym)
Definition: _all.inc:82

◆ Monster ::mr_think()

virtual void Monster::Monster ::mr_think ( )
inlinevirtualinherited

(SERVER) logic to run every frame

Definition at line 49 of file monster.qh.

References TC.

49 { TC(Monster, this); return false; }
#define TC(T, sym)
Definition: _all.inc:82

Member Data Documentation

◆ m_maxs

vector Shambler::m_maxs = '41 41 65'

Definition at line 12 of file shambler.qh.

◆ m_mins

vector Shambler::m_mins = '-41 -41 -31'

Definition at line 11 of file shambler.qh.

◆ monster_name

string Shambler::monster_name = _("Shambler")

Definition at line 17 of file shambler.qh.

◆ monsterid

int Monster::monsterid = 0
inherited

Definition at line 32 of file monster.qh.

◆ netname

string Shambler::netname = "shambler"

Definition at line 16 of file shambler.qh.

◆ spawnflags

Definition at line 10 of file shambler.qh.


The documentation for this class was generated from the following file: