Cube  Artifact [0c6f848420]

Artifact 0c6f8484205d7241d76bc645ef14f803fa1fb89f059066dde20db731a66389a5:


#import <ObjFW/ObjFW.h>

// map entity
@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