#include <ObjectFixed.h>
Inheritance diagram for ObjectFixed::Config:
Public Member Functions | |
Config (const string &imageFile, const Direction &objectDirection, const Action &objectAction, const string &objectName, const string &objectDescription) | |
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. | |
virtual const wxColour * | GetObjectTextColour () const |
Returns text colour of the object. |
ObjectFixed::Config::Config | ( | const string & | imageFile, | |
const Direction & | objectDirection, | |||
const Action & | objectAction, | |||
const string & | objectName, | |||
const string & | objectDescription | |||
) | [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 |
ObjectFixed::Config::Config | ( | TiXmlElement * | node | ) | [explicit] |
virtual ObjectFixed::Config::~Config | ( | ) | [inline, virtual] |
TiXmlElement * ObjectFixed::Config::CreateXmlNode | ( | ) | const [virtual] |
virtual const string& ObjectFixed::Config::GetObjectClassName | ( | ) | const [inline, virtual] |
virtual const wxColour* ObjectFixed::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 ObjectFixed::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.