SwigDirector_Tile Class Reference

Inherits Annchienta::Tile, and Swig::Director.

List of all members.

Public Member Functions

virtual bool collidesWith (Annchienta::Entity *other) const
virtual void draw ()
virtual int getDepth ()
virtual Annchienta::EntityType getEntityType () const
virtual Annchienta::MaskgetMask () 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_Tile (PyObject *self, Annchienta::TileSet *arg0, Annchienta::Point arg1, int arg2, Annchienta::Point arg3, int arg4, Annchienta::Point arg5, int arg6, Annchienta::Point arg7, int arg8, int ssOffset=0, int ss=0)
virtual void update ()
virtual ~SwigDirector_Tile ()

Private Attributes

std::map< std::string, bool > inner


Constructor & Destructor Documentation

SwigDirector_Tile::SwigDirector_Tile ( PyObject *  self,
Annchienta::TileSet arg0,
Annchienta::Point  arg1,
int  arg2,
Annchienta::Point  arg3,
int  arg4,
Annchienta::Point  arg5,
int  arg6,
Annchienta::Point  arg7,
int  arg8,
int  ssOffset = 0,
int  ss = 0 
)

virtual SwigDirector_Tile::~SwigDirector_Tile (  )  [virtual]


Member Function Documentation

virtual bool SwigDirector_Tile::collidesWith ( Annchienta::Entity other  )  const [virtual]

Check if this Entity collides with another Entity.

Returns:
If they collide.

Reimplemented from Annchienta::Entity.

virtual void SwigDirector_Tile::draw (  )  [virtual]

Draws the entity to the screen.

Reimplemented from Annchienta::Tile.

virtual int SwigDirector_Tile::getDepth (  )  [virtual]

Returns:
Depth to be used for depthsorting.

Reimplemented from Annchienta::Tile.

virtual Annchienta::EntityType SwigDirector_Tile::getEntityType (  )  const [virtual]

Get the type of this Entity.

Returns:
The type of this entity.

Reimplemented from Annchienta::Tile.

virtual Annchienta::Mask* SwigDirector_Tile::getMask (  )  const [virtual]

Returns:
The collision mask for this entity.

Reimplemented from Annchienta::Tile.

virtual Annchienta::Point SwigDirector_Tile::getMaskPosition (  )  const [virtual]

Where the tile mask should be placed... this is mostly used internally.

Note:
Not available in Python.

Reimplemented from Annchienta::Tile.

bool SwigDirector_Tile::swig_get_inner ( const char *  name  )  const [inline]

References inner.

void SwigDirector_Tile::swig_set_inner ( const char *  name,
bool  val 
) const [inline]

References inner.

virtual void SwigDirector_Tile::update (  )  [virtual]

Updates the entity, eg. update sprite, position, ...

Reimplemented from Annchienta::Tile.


Member Data Documentation

std::map<std::string, bool> SwigDirector_Tile::inner [mutable, private]

Referenced by swig_get_inner(), and swig_set_inner().


Generated on Wed Feb 4 16:31:47 2009 for Annchienta by  doxygen 1.5.7.1