quakeforge/ruamoko/lib/Entity.r
2002-08-17 05:27:34 +00:00

28 lines
276 B
R

#include "Entity.h"
@implementation Entity
- (id) init
{
return [self initWithEntity: spawn ()];
}
- (id) initWithEntity: (entity)e
{
ent = e;
ent.@this = self;
return self;
}
- (void) free
{
remove (ent);
[super free];
}
- (entity) ent
{
return self.ent;
}
@end