28 #ifndef GOB_PREGOB_ONCEUPON_STORK_H 29 #define GOB_PREGOB_ONCEUPON_STORK_H 31 #include "common/system.h" 33 #include "gob/aniobject.h" 65 bool hasBundleLanded()
const;
71 bool draw(
Surface &dest, int16 &left, int16 &top, int16 &right, int16 &bottom)
override;
73 bool clear(
Surface &dest, int16 &left, int16 &top, int16 &right, int16 &bottom)
override;
76 void advance()
override;
80 kStateFlyNearWithBundle = 0,
81 kStateFlyFarWithBundle ,
82 kStateFlyNearWithoutBundle ,
83 kStateFlyFarWithoutBundle
96 void setState(State state, uint16 anim);
97 void setState(State state, uint16 anim, int16 x);
99 void dropBundle(State state, uint16 anim);
106 #endif // GOB_PREGOB_ONCEUPON_STORK_H int16 dropX
X position the stork drops the bundle.
Definition: stork.h:55
Definition: aniobject.h:42
int16 anim
Animation of the bundle floating down.
Definition: stork.h:53
Definition: algorithm.h:29
Definition: surface.h:100
int16 landY
Y position the bundle lands.
Definition: stork.h:56
bool dropWhileFar
Does the stork drop the bundle while far instead of near?
Definition: stork.h:58