Differences From Artifact [0ee26a40fb]:
- File src/DynamicEntity.h — part of check-in [7a98b92af9] at 2025-03-25 23:52:50 on branch trunk — Make use of OF_DIRECT (user: js, size: 1580) [annotate] [blame] [check-ins using]
To Artifact [0008508591]:
- File
src/DynamicEntity.h
— part of check-in
[75e920ae30]
at
2025-03-29 14:25:43
on branch trunk
— Switch from clang-format to manual formatting
clang-format does too many weird things. (user: js, size: 1581) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
29 30 31 32 33 34 35 | @property (direct, readonly, nonatomic) int *ammo; @property (direct, nonatomic) bool attacking; // used by physics to signal ai @property (direct, nonatomic) bool blocked, moving; @property (direct, copy, nonatomic) OFString *name; - (OFData *)dataBySerializing; | | | 29 30 31 32 33 34 35 36 37 38 39 40 | @property (direct, readonly, nonatomic) int *ammo; @property (direct, nonatomic) bool attacking; // used by physics to signal ai @property (direct, nonatomic) bool blocked, moving; @property (direct, copy, nonatomic) OFString *name; - (OFData *)dataBySerializing; - (void)setFromSerializedData: (OFData *)data; - (void)resetMovement; // reset player state not persistent accross spawns - (void)resetToSpawnState; @end |