#include <ObjectTrail.h>
Inheritance diagram for ObjectTrail::Config:

Public Member Functions | |
| Config (const string &imageFile, const Direction &objectDirection, const Action &objectAction, const string &objectName, const string &objectDescription, ObjectTrail::DurationSize trailDuration) | |
| Constructor - initialize whole object. | |
| Config (TiXmlElement *node) | |
| Constructs object using data from XML node. | |
| virtual | ~Config () |
| Destructor. | |
| virtual void | ShowEditationWindow (wxWindow *parent, bool waitUntilClosed=true) |
| Shows editation window where the user can edit the config. | |
| virtual TiXmlElement * | CreateXmlNode () const |
| Creates node representing the config. | |
| virtual const string & | GetObjectClassName () const |
| Returns name of the class, object is supposed to construct. | |
| ObjectTrail::DurationSize | GetDuration () const |
| Gets trail's duration. | |
| virtual const wxColour * | GetObjectTextColour () const |
| Returns text colour of the object. | |
Private Attributes | |
| ObjectTrail::DurationSize | duration |
| Trail duration. | |
| ObjectTrail::Config::Config | ( | const string & | imageFile, | |
| const Direction & | objectDirection, | |||
| const Action & | objectAction, | |||
| const string & | objectName, | |||
| const string & | objectDescription, | |||
| ObjectTrail::DurationSize | trailDuration | |||
| ) | [inline] |
Constructor - initialize whole object.
| imageFile | File containing image | |
| objectDirection | Starting direction | |
| objectAction | Starting action | |
| objectName | contains name of the object | |
| objectDescription | contains description of the object | |
| trailDuration | Duration of the trail |
| ObjectTrail::Config::Config | ( | TiXmlElement * | node | ) | [explicit] |
| virtual ObjectTrail::Config::~Config | ( | ) | [inline, virtual] |
| TiXmlElement * ObjectTrail::Config::CreateXmlNode | ( | ) | const [virtual] |
| ObjectTrail::DurationSize ObjectTrail::Config::GetDuration | ( | ) | const [inline] |
Gets trail's duration.
| virtual const string& ObjectTrail::Config::GetObjectClassName | ( | ) | const [inline, virtual] |
| virtual const wxColour* ObjectTrail::Config::GetObjectTextColour | ( | ) | const [inline, virtual] |
Returns text colour of the object.
This can be used to make differences between objects on the text level.
Implements Object::Config.
| void ObjectTrail::Config::ShowEditationWindow | ( | wxWindow * | parent, | |
| bool | waitUntilClosed = true | |||
| ) | [virtual] |
Shows editation window where the user can edit the config.
| parent | Parent window | |
| waitUntilClosed | If true, application will be stopped until the window is closed |
Implements EditableInWindowConfig.
Trail duration.
1.4.7