Environement.hpp
Go to the documentation of this file.
33 typedef ememory::SharedPtr<ege::Element> (*createElement_tf)(const ememory::SharedPtr<ege::Environement>& _env);
137 ememory::SharedPtr<ege::Element> createElement(const std::string& _type, const std::string& _description, bool _autoAddElement=true);
138 ememory::SharedPtr<ege::Element> createElement(const std::string& _type, const ejson::Value& _value, bool _autoAddElement=true);
139 ememory::SharedPtr<ege::Element> createElement(const std::string& _type, const exml::Node& _node, bool _autoAddElement=true);
140 ememory::SharedPtr<ege::Element> createElement(const std::string& _type, void* _data, bool _autoAddElement=true);
141 ememory::SharedPtr<ege::Element> createElement(const std::string& _type, bool _autoAddElement=true);
180 ememory::SharedPtr<ege::Element> getElementNearest(ememory::SharedPtr<ege::Element> _sourceRequest, float& _distance);
204 void getOrderedElementForDisplay(std::vector<ege::Environement::ResultNearestElement>& _resultList, const vec3& _position, const vec3& _direction);
219 };
Definition: Environement.hpp:79
Definition: Environement.hpp:143
ege::ParticuleEngine & getParticuleEngine()
get the particule engine reference.
Definition: Environement.hpp:217
Definition: AudioElement.hpp:8
Definition: ParticuleEngine.hpp:16
Definition: Engine.hpp:41
void clear()
std::map< std::string, ememory::SharedPtr< ege::Camera > > getCameraList() const
Get List of all camera.
Definition: Environement.hpp:115
Definition: Environement.hpp:41
int64_t m_gameTime
time of the game running
Definition: Environement.hpp:219
eproperty::Value< float > propertyRatio
Speed ratio.
Definition: Environement.hpp:85
std::map< std::string, ememory::SharedPtr< ege::Camera > > m_listCamera
list of all camera in the world
Definition: Environement.hpp:94
eproperty::List< enum gameStatus > propertyStatus
the display is running (not in pause)
Definition: Environement.hpp:84
std::vector< ememory::SharedPtr< ege::Element > > & getElement()
Definition: Environement.hpp:171
Definition: Element.hpp:28