Convert server_entity to a class
FossilOrigin-Name: 21584a40b686945f20e078af058c7f2ad2f4be197cc4a67335a18329c6fd085b
This commit is contained in:
parent
d42f82f1ec
commit
7162807acd
4 changed files with 45 additions and 26 deletions
9
src/ServerEntity.h
Normal file
9
src/ServerEntity.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#import <ObjFW/ObjFW.h>
|
||||
|
||||
// server side version of "entity" type
|
||||
@interface ServerEntity: OFObject
|
||||
@property (nonatomic) bool spawned;
|
||||
@property (nonatomic) int spawnsecs;
|
||||
|
||||
+ (instancetype)entity;
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue