Public Member Functions | Private Member Functions | Private Attributes | Friends

Prop Class Reference

A static prop. More...

#include <Prop.h>

Inheritance diagram for Prop:
Entity

List of all members.

Public Member Functions

 Prop (PropInfo &info)
 Prop (const Prop &copy)
 ~Prop ()
Propoperator= (const Prop &copy)
const string & getDescription () const
int getPropId () const

Private Member Functions

bool init (PropInfo &info)

Private Attributes

CollisionMap mCollisionMap
ImagemCollisionMapSrc
int mCollisionAnchorX
int mCollisionAnchorY
int mPropId
string mDescription
StringList mErrors

Friends

class PropFactory

Detailed Description

A static prop.

Props are simple objects that exist to look pretty and potentially obscruct the path of an Actor object.


Constructor & Destructor Documentation

Prop::Prop ( PropInfo info  ) 
Prop::Prop ( const Prop copy  ) 
Prop::~Prop (  ) 

Member Function Documentation

const string& Prop::getDescription (  )  const [inline]
int Prop::getPropId (  )  const [inline]
bool Prop::init ( PropInfo info  )  [private]
Prop & Prop::operator= ( const Prop copy  ) 

Friends And Related Function Documentation

friend class PropFactory [friend]

Member Data Documentation

int Prop::mCollisionAnchorX [private]

X-Anchor for Collision Mask

int Prop::mCollisionAnchorY [private]

Y-Anchor for Collision Mask

Collision Map.

Source collision mask image to generate a collision map from.

string Prop::mDescription [private]

Description

Internal list of errors and warnings.

int Prop::mPropId [private]

Internal Prop Id.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines