Public Member Functions | |
virtual bool | collidesWith (Annchienta::Entity *other) const |
virtual void | draw () |
virtual int | getDepth () |
virtual Annchienta::EntityType | getEntityType () const |
virtual Annchienta::Mask * | getMask () const |
virtual Annchienta::Point | getMaskPosition () const |
bool | swig_get_inner (const char *name) const |
void | swig_set_inner (const char *name, bool val) const |
SwigDirector_Entity (PyObject *self, char const *name="none") | |
virtual void | update () |
virtual | ~SwigDirector_Entity () |
Private Attributes | |
std::map< std::string, bool > | inner |
SwigDirector_Entity::SwigDirector_Entity | ( | PyObject * | self, | |
char const * | name = "none" | |||
) |
virtual SwigDirector_Entity::~SwigDirector_Entity | ( | ) | [virtual] |
virtual bool SwigDirector_Entity::collidesWith | ( | Annchienta::Entity * | other | ) | const [virtual] |
Check if this Entity collides with another Entity.
Reimplemented from Annchienta::Entity.
virtual void SwigDirector_Entity::draw | ( | ) | [virtual] |
Draws the entity to the screen.
Implements Annchienta::Entity.
virtual int SwigDirector_Entity::getDepth | ( | ) | [virtual] |
virtual Annchienta::EntityType SwigDirector_Entity::getEntityType | ( | ) | const [virtual] |
virtual Annchienta::Mask* SwigDirector_Entity::getMask | ( | ) | const [virtual] |
virtual Annchienta::Point SwigDirector_Entity::getMaskPosition | ( | ) | const [virtual] |
Use this when you want to know where you should place the Mask for this Entity if you want to check collision with other Entities.
Implements Annchienta::Entity.
bool SwigDirector_Entity::swig_get_inner | ( | const char * | name | ) | const [inline] |
References inner.
void SwigDirector_Entity::swig_set_inner | ( | const char * | name, | |
bool | val | |||
) | const [inline] |
References inner.
virtual void SwigDirector_Entity::update | ( | ) | [virtual] |
Updates the entity, eg. update sprite, position, ...
Implements Annchienta::Entity.
std::map<std::string, bool> SwigDirector_Entity::inner [mutable, private] |
Referenced by swig_get_inner(), and swig_set_inner().