94 if (type ==
"ElevatorCar")
96 else if (type ==
"Floor")
98 else if (type ==
"Shaft Level")
100 else if (type ==
"Stairwell Level")
102 else if (type ==
"SBS")
110 if (type ==
"ElevatorCar")
112 else if (type ==
"Floor")
114 else if (type ==
"Shaft Level")
116 else if (type ==
"Stairwell Level")
118 else if (type ==
"SBS")
void OnClick(Vector3 &position, bool shift, bool ctrl, bool alt, bool right)
void Finish(bool enable_physics=false, Real restitution=0, Real friction=0, Real mass=0)
CustomObject(Object *parent, const std::string &name, const Vector3 &position, const Vector3 &rotation, Real max_render_distance=0, Real scale_multiplier=1)
void SetTexture(const std::string &texture)
ElevatorCar * IsInElevator(const Vector3 &position, bool camera=false)
void SetMaterial(const std::string &material)
void EnablePhysics(bool value, Real restitution=0, Real friction=0, Real mass=0)
const std::string & GetName()
virtual void SetRotation(const Vector3 &rotation)
virtual void Move(const Vector3 &vector, Real speed=1.0)
virtual Vector3 GetPosition(bool relative=false)
void SetValues(const std::string &type, const std::string &name, bool is_permanent, bool is_movable=true)
void ChangeParent(Object *new_parent)
void Init(bool children=true)
void EnableLoop(bool value)
const std::string & GetType()
Elevator * GetElevator(int number)
Floor * GetFloor(int number)
int GetFloorNumber(Real altitude, int lastfloor=0, bool checklastfloor=false)
CustomObject * AddCustomObject(const std::string &name, const Vector3 &position, const Vector3 &rotation, Real max_render_distance=0, Real scale_multiplier=1)
void RemoveCustomObject(CustomObject *object)
#define SBS_PROFILE(name)