Artifact 1383bfd2c4b5197a48de1760097d92f73ed9a76c89431586bd9c11c4f626328b:
- File src/PersistentEntity.h — part of check-in [4b002822f9] at 2025-03-20 16:04:35 on branch trunk — Convert entity to a class (user: js, size: 331) [annotate] [blame] [check-ins using]
#import <ObjFW/ObjFW.h> // map entity @interface PersistentEntity: 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; + (instancetype)entity; @end