2002-08-15 21:00:51 +00:00
|
|
|
#ifndef __ruamoko_entity_h
|
|
|
|
#define __ruamoko_entity_h
|
2002-08-14 15:40:30 +00:00
|
|
|
|
|
|
|
#include "object.h"
|
|
|
|
|
|
|
|
@interface Entity : Object
|
|
|
|
{
|
|
|
|
entity ent;
|
|
|
|
}
|
|
|
|
|
|
|
|
-init;
|
|
|
|
-initWithEntity:(entity)e;
|
|
|
|
-free;
|
|
|
|
|
|
|
|
-(entity)new;
|
|
|
|
-(entity)ent;
|
|
|
|
@end
|
|
|
|
|
2002-08-15 06:56:37 +00:00
|
|
|
@extern void (entity e, vector o) setorigin;
|
|
|
|
@extern void (entity e, string m) setmodel;
|
|
|
|
@extern void (entity e, vector min, vector max) setsize;
|
|
|
|
@extern entity () spawn;
|
|
|
|
@extern void (entity e) remove;
|
|
|
|
@extern entity (entity start, .string fld, string match) find;
|
|
|
|
@extern entity (vector org, float rad) findradius;
|
|
|
|
@extern entity (entity e) nextent;
|
|
|
|
@extern void (entity e) makestatic;
|
|
|
|
@extern void (entity e) setspawnparms;
|
|
|
|
|
2002-08-15 21:00:51 +00:00
|
|
|
#endif//__ruamoko_entity_h
|