28#ifndef GOB_PREGOB_ONCEUPON_STORK_H
29#define GOB_PREGOB_ONCEUPON_STORK_H
31#include "common/system.h"
33#include "gob/aniobject.h"
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;
80 kStateFlyNearWithBundle = 0,
81 kStateFlyFarWithBundle ,
82 kStateFlyNearWithoutBundle ,
83 kStateFlyFarWithoutBundle
93 BundleDrop _bundleDrop;
96 void setState(State state, uint16 anim);
97 void setState(State state, uint16 anim, int16 x);
Definition: aniobject.h:42
bool draw(Surface &dest, int16 &left, int16 &top, int16 &right, int16 &bottom) override
void dropBundle(const BundleDrop &drop)
bool clear(Surface &dest, int16 &left, int16 &top, int16 &right, int16 &bottom) override
bool hasBundleLanded() const
Definition: surface.h:106
Definition: algorithm.h:29
int16 anim
Animation of the bundle floating down.
Definition: stork.h:53
int16 dropX
X position the stork drops the bundle.
Definition: stork.h:55
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