FIFE
2008.0
|
#include <mapsaver.h>
Public Member Functions | |
MapSaver () | |
~MapSaver () | |
virtual void | setObjectSaver (const FIFE::ObjectSaverPtr &objectSaver) |
virtual void | setAnimationSaver (const FIFE::AnimationSaverPtr &animationSaver) |
virtual void | setAtlasSaver (const FIFE::AtlasSaverPtr &atlasSaver) |
virtual void | save (const Map &map, const std::string &filename, const std::vector< std::string > &importFiles) |
default map saver class implementing the IMapSaver interface
Definition at line 40 of file mapsaver.h.
FIFE::MapSaver::MapSaver | ( | ) |
constructor
Definition at line 46 of file mapsaver.cpp.
FIFE::MapSaver::~MapSaver | ( | ) |
destructor
Definition at line 52 of file mapsaver.cpp.
|
virtual |
responsible for saving the map resource used to save map files
Implements FIFE::IMapSaver.
Definition at line 71 of file mapsaver.cpp.
References FIFE::Map::getCameras(), FIFE::Map::getId(), FIFE::Map::getLayers(), FIFE::InstanceVisual::getStackPosition(), FIFE::RectType< T >::h, TiXmlNode::LinkEndChild(), TiXmlDocument::SaveFile(), TiXmlElement::SetAttribute(), TiXmlElement::SetDoubleAttribute(), FIFE::RectType< T >::w, FIFE::RectType< T >::x, and FIFE::RectType< T >::y.
|
virtual |
allows setting which animation saver will be used to save animation files
Implements FIFE::IMapSaver.
Definition at line 62 of file mapsaver.cpp.
|
virtual |
allows setting which atlas saver will be used to save atlas files
Implements FIFE::IMapSaver.
Definition at line 67 of file mapsaver.cpp.
|
virtual |
allows setting which object saver will be used to save object files
Implements FIFE::IMapSaver.
Definition at line 57 of file mapsaver.cpp.