23 #ifndef BAGEL_BAGLIB_SPRITE_OBJECT_H 24 #define BAGEL_BAGLIB_SPRITE_OBJECT_H 26 #include "bagel/baglib/object.h" 27 #include "bagel/boflib/gfx/sprite.h" 46 ErrorCode attach()
override;
47 ErrorCode detach()
override;
48 bool isAttached()
override {
49 return _xSprite !=
nullptr;
53 bool isInside(
const CBofPoint &xPoint)
override;
55 int getWieldCursor()
const {
58 void setWieldCursor(
int n) {
70 bool isAnimated()
const {
74 void setAnimated(
bool b =
true);
75 void setCels(
int nCels);
76 void setPosition(
const CBofPoint &pos)
override;
80 void setProperty(
const CBofString &sProp,
int nVal)
override;
81 int getProperty(
const CBofString &sProp)
override;
83 int getFrameRate()
const {
84 return _nMaxFrameRate;
86 void setFrameRate(
int nFR) {
ParseCodes setInfo(CBagIfstream &istr) override
Definition: ifstream.h:31
Definition: sprite_object.h:34