quakeforge/ruamoko/include/Entity.h
Bill Currie 2dc806cff5 [ruamoko] Clean up Entity a little
Hide own, and add some class spawn methods.
2021-12-30 13:26:36 +09:00

51 lines
1.2 KiB
Objective-C

/*
Entity.h
Entity class definition
Copyright (C) 2002 Bill Currie <taniwha@quakeforge.net>
Copyright (C) 2002 Jeff Teunissen <deek@quakeforge.net>
This file is part of the Ruamoko Standard Library.
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at
your option) any later version.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
*/
#ifndef __ruamoko_Entity_h
#define __ruamoko_Entity_h
#include <Object.h>
@interface Entity: Object
{
int own;
@public
entity ent;
}
+(Entity *) spawn;
+(Entity *) withEntity: (entity) e;
- (id) init;
- (id) initWithEntity: (entity) e;
- (entity) ent;
@end
#endif //__ruamoko_Entity_h