Tinman
1.0
|
#include <trackloader.h>
Public Types | |
typedef std::shared_ptr< TrackLoader > | shared |
Public Member Functions | |
TrackLoader (Scene::shared scene, Physics::shared physics) | |
virtual | ~TrackLoader () |
std::vector< Section > | create_circuit (std::string data_file) |
Private Member Functions | |
Parser::Results | load (std::string data_file) |
Section | create_section (Ogre::Vector3 position, std::string name, std::string mesh, Ogre::Degree angle, std::string direction, int index) |
Section::Type | get_section_type (std::string mesh, std::string direction="") |
Private Attributes | |
Parser | parser |
Scene::shared | scene_ |
Physics::shared | physics_ |
typedef std::shared_ptr<TrackLoader> TrackLoader::shared |
TrackLoader::TrackLoader | ( | Scene::shared | scene, |
Physics::shared | physics | ||
) |
|
virtual |
std::vector< Section > TrackLoader::create_circuit | ( | std::string | data_file | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |