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

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 = '18 18 30'
 
vector m_mins = '-18 -18 -25'
 
string monster_name = _("Spider")
 
int monsterid = 0
 
string netname = "spider"
 
int spawnflags = MON_FLAG_MELEE | MON_FLAG_RANGED | MON_FLAG_RIDE
 

Detailed Description

Definition at line 9 of file spider.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 Spider::m_maxs = '18 18 30'

Definition at line 12 of file spider.qh.

◆ m_mins

vector Spider::m_mins = '-18 -18 -25'

Definition at line 11 of file spider.qh.

◆ monster_name

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

Definition at line 17 of file spider.qh.

◆ monsterid

int Monster::monsterid = 0
inherited

Definition at line 32 of file monster.qh.

◆ netname

string Spider::netname = "spider"

Definition at line 16 of file spider.qh.

◆ spawnflags

int Spider::spawnflags = MON_FLAG_MELEE | MON_FLAG_RANGED | MON_FLAG_RIDE

Definition at line 10 of file spider.qh.


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