22 #ifndef LASTEXPRESS_OBJECT_H 23 #define LASTEXPRESS_OBJECT_H 25 #include "lastexpress/shared.h" 27 #include "common/serializer.h" 28 #include "common/system.h" 32 class LastExpressEngine;
39 ObjectLocation status;
40 CursorStyle windowCursor;
41 CursorStyle handleCursor;
45 entity = kEntityPlayer;
46 status = kObjectLocationNone;
47 windowCursor = kCursorHandKnock;
48 handleCursor = kCursorHandKnock;
49 model = kObjectModelNone;
58 s.syncAsByte(windowCursor);
59 s.syncAsByte(handleCursor);
66 const Object get(ObjectIndex index)
const;
67 void update(ObjectIndex index, EntityIndex entity, ObjectLocation status, CursorStyle cursor, CursorStyle cursor2);
68 void updateModel(ObjectIndex index, ObjectModel model);
83 Object _objects[kObjectMax];
88 #endif // LASTEXPRESS_OBJECT_H
Definition: lastexpress.h:69
Definition: animation.h:45
Definition: serializer.h:79
Definition: serializer.h:308