FossilOrigin-Name: 7a98b92af94db34093428fc95da00435311c270d74135e69aa94bca16871a023
13 lines
375 B
Objective-C
13 lines
375 B
Objective-C
#import <ObjFW/ObjFW.h>
|
|
|
|
// map entity
|
|
OF_DIRECT_MEMBERS
|
|
@interface Entity: OFObject
|
|
@property (nonatomic) short x, y, z; // cube aligned position
|
|
@property (nonatomic) short attr1;
|
|
@property (nonatomic) unsigned char type; // type is one of the above
|
|
@property (nonatomic) unsigned char attr2, attr3, attr4;
|
|
@property (nonatomic) bool spawned;
|
|
|
|
+ (instancetype)entity;
|
|
@end
|