23 #ifndef BAGEL_BAGLIB_SPRITE_OBJECT_H 24 #define BAGEL_BAGLIB_SPRITE_OBJECT_H 26 #include "bagel/spacebar/baglib/object.h" 27 #include "bagel/spacebar/boflib/gfx/sprite.h" 47 ErrorCode attach()
override;
48 ErrorCode detach()
override;
49 bool isAttached()
override {
50 return _xSprite !=
nullptr;
54 bool isInside(
const CBofPoint &xPoint)
override;
56 int getWieldCursor()
const {
59 void setWieldCursor(
int n) {
71 bool isAnimated()
const {
75 void setAnimated(
bool b =
true);
76 void setCels(
int nCels);
77 void setPosition(
const CBofPoint &pos)
override;
81 void setProperty(
const CBofString &sProp,
int nVal)
override;
82 int getProperty(
const CBofString &sProp)
override;
84 int getFrameRate()
const {
85 return _nMaxFrameRate;
87 void setFrameRate(
int nFR) {
Definition: ifstream.h:32
ParseCodes setInfo(CBagIfstream &istr) override
Definition: sprite_object.h:35