2002-08-17 05:27:34 +00:00
|
|
|
#ifndef __GameEntity_h
|
|
|
|
#define __GameEntity_h
|
2002-08-14 15:40:30 +00:00
|
|
|
|
2002-08-17 05:27:34 +00:00
|
|
|
#include "Entity.h"
|
2002-08-14 15:40:30 +00:00
|
|
|
|
|
|
|
@extern .vector angles;
|
|
|
|
@extern .float modelindex;
|
|
|
|
@extern .float movetype;
|
|
|
|
@extern .string model;
|
|
|
|
@extern .float frame;
|
|
|
|
@extern .float colormap;
|
|
|
|
@extern .vector mins;
|
|
|
|
@extern .vector maxs;
|
|
|
|
@extern .vector velocity;
|
|
|
|
@extern .vector origin;
|
|
|
|
@extern .float flags;
|
|
|
|
@extern .vector v_angle;
|
|
|
|
|
2002-08-17 05:27:34 +00:00
|
|
|
@interface GameEntity: Entity
|
|
|
|
|
|
|
|
- (BOOL) takeDamage: weapon :inflictor :attacker : (float)damage;
|
|
|
|
|
2002-08-14 15:40:30 +00:00
|
|
|
@end
|
|
|
|
|
2002-08-17 05:27:34 +00:00
|
|
|
#endif //__GameEntity_h
|