Public Member Functions | |
virtual bool | canInteract () const |
virtual bool | collidesWith (Annchienta::Entity *other) const |
virtual void | draw () |
virtual void | freeze (bool arg0) |
virtual int | getDepth () |
virtual Annchienta::EntityType | getEntityType () const |
virtual Annchienta::Mask * | getMask () const |
virtual Annchienta::Point | getMaskPosition () const |
virtual Annchienta::Point | getPosition () const |
virtual bool | isPassable () const |
virtual void | lookAt (Annchienta::StaticObject *other) |
virtual void | onInteract () |
virtual void | setOnInteractCode (char const *code) |
virtual void | setOnInteractScript (char const *script) |
virtual void | setPassable (bool passable) |
virtual void | setPosition (Annchienta::Point position) |
virtual void | setSprite (char const *filename) |
virtual void | setStandAnimation (bool b=false) |
virtual bool | stepTo (Annchienta::Point arg0) |
bool | swig_get_inner (const char *name) const |
void | swig_set_inner (const char *name, bool val) const |
SwigDirector_StaticObject (PyObject *self, char const *name, Annchienta::Surface *surf, Annchienta::Mask *mask) | |
SwigDirector_StaticObject (PyObject *self, char const *name, char const *configfile) | |
virtual void | update () |
virtual | ~SwigDirector_StaticObject () |
Private Attributes | |
std::map< std::string, bool > | inner |
SwigDirector_StaticObject::SwigDirector_StaticObject | ( | PyObject * | self, | |
char const * | name, | |||
char const * | configfile | |||
) |
SwigDirector_StaticObject::SwigDirector_StaticObject | ( | PyObject * | self, | |
char const * | name, | |||
Annchienta::Surface * | surf, | |||
Annchienta::Mask * | mask | |||
) |
virtual SwigDirector_StaticObject::~SwigDirector_StaticObject | ( | ) | [virtual] |
virtual bool SwigDirector_StaticObject::canInteract | ( | ) | const [virtual] |
Reimplemented from Annchienta::StaticObject.
virtual bool SwigDirector_StaticObject::collidesWith | ( | Annchienta::Entity * | other | ) | const [virtual] |
Check if this Entity collides with another Entity.
Reimplemented from Annchienta::Entity.
virtual void SwigDirector_StaticObject::draw | ( | ) | [virtual] |
Draws this StaticObject to the screen.
Reimplemented from Annchienta::StaticObject.
virtual void SwigDirector_StaticObject::freeze | ( | bool | arg0 | ) | [virtual] |
Reimplemented from Annchienta::StaticObject.
virtual int SwigDirector_StaticObject::getDepth | ( | ) | [virtual] |
Reimplemented from Annchienta::StaticObject.
virtual Annchienta::EntityType SwigDirector_StaticObject::getEntityType | ( | ) | const [virtual] |
virtual Annchienta::Mask* SwigDirector_StaticObject::getMask | ( | ) | const [virtual] |
virtual Annchienta::Point SwigDirector_StaticObject::getMaskPosition | ( | ) | const [virtual] |
Reimplemented from Annchienta::StaticObject.
virtual Annchienta::Point SwigDirector_StaticObject::getPosition | ( | ) | const [virtual] |
virtual bool SwigDirector_StaticObject::isPassable | ( | ) | const [virtual] |
If this object is passable, other objects can "walk through" it.
Reimplemented from Annchienta::StaticObject.
virtual void SwigDirector_StaticObject::lookAt | ( | Annchienta::StaticObject * | other | ) | [virtual] |
Reimplemented from Annchienta::StaticObject.
virtual void SwigDirector_StaticObject::onInteract | ( | ) | [virtual] |
When you call this function, this object's interact script and/or code will be executed if they exist.
Reimplemented from Annchienta::StaticObject.
virtual void SwigDirector_StaticObject::setOnInteractCode | ( | char const * | code | ) | [virtual] |
Sets this object's interact code. This code will be executed when the object is interacted with.
code | Code to be executed. |
Reimplemented from Annchienta::StaticObject.
virtual void SwigDirector_StaticObject::setOnInteractScript | ( | char const * | script | ) | [virtual] |
Sets this object's interact script. This script will be executed when the object is interacted with.
script | Filename of the script. |
Reimplemented from Annchienta::StaticObject.
virtual void SwigDirector_StaticObject::setPassable | ( | bool | passable | ) | [virtual] |
If this object is passable, other objects can "walk through" it.
passable | If this object should be passable. |
Reimplemented from Annchienta::StaticObject.
virtual void SwigDirector_StaticObject::setPosition | ( | Annchienta::Point | position | ) | [virtual] |
Sets the position for this StaticObject.
position | The new position. |
Reimplemented from Annchienta::StaticObject.
virtual void SwigDirector_StaticObject::setSprite | ( | char const * | filename | ) | [virtual] |
Should be used with care, because the frame settings stay the same.
filename | Filename of the new sprite. |
Reimplemented from Annchienta::StaticObject.
virtual void SwigDirector_StaticObject::setStandAnimation | ( | bool | b = false |
) | [virtual] |
Reimplemented from Annchienta::StaticObject.
virtual bool SwigDirector_StaticObject::stepTo | ( | Annchienta::Point | arg0 | ) | [virtual] |
Reimplemented from Annchienta::StaticObject.
bool SwigDirector_StaticObject::swig_get_inner | ( | const char * | name | ) | const [inline] |
References inner.
void SwigDirector_StaticObject::swig_set_inner | ( | const char * | name, | |
bool | val | |||
) | const [inline] |
References inner.
virtual void SwigDirector_StaticObject::update | ( | ) | [virtual] |
Updates this Entity. This is called when updating the Map this Entity is in.
Reimplemented from Annchienta::StaticObject.
std::map<std::string, bool> SwigDirector_StaticObject::inner [mutable, private] |
Referenced by swig_get_inner(), and swig_set_inner().