22 #ifndef ULTIMA8_WORLD_SNAPPROCESS_H 23 #define ULTIMA8_WORLD_SNAPPROCESS_H 25 #include "ultima/ultima8/kernel/process.h" 26 #include "ultima/ultima8/misc/rect.h" 38 ENABLE_RUNTIME_CLASSTYPE()
45 void addEgg(
Item *item);
46 void removeEgg(
Item *item);
54 void getSnapEggRange(
const Item *egg,
Rect &rect)
const;
55 void updateCurrentEgg();
56 bool isNpcInRangeOfCurrentEgg()
const;
58 ObjId _currentSnapEgg;
59 Rect _currentSnapEggRange;
Definition: detection.h:27
Definition: snap_process.h:33
void saveData(Common::WriteStream *ws) override
save Process data