$#include "Scene.h" static const unsigned FIRST_REPLICATED_ID; static const unsigned LAST_REPLICATED_ID; static const unsigned FIRST_LOCAL_ID; static const unsigned LAST_LOCAL_ID; class Scene : public Node { Scene(Context* context); virtual ~Scene(); bool LoadXML(Deserializer& source); bool SaveXML(Serializer& dest) const; bool LoadAsync(File* file); bool LoadAsyncXML(File* file); void StopAsyncLoading(); void Clear(); void SetUpdateEnabled(bool enable); void SetTimeScale(float scale); void SetElapsedTime(float time); void SetSmoothingConstant(float constant); void SetSnapThreshold(float threshold); Node* GetNode(unsigned id) const; Component* GetComponent(unsigned id) const; bool IsUpdateEnabled() const; bool IsAsyncLoading() const; float GetAsyncProgress() const; const String& GetFileName() const; unsigned GetChecksum() const; float GetTimeScale() const; float GetElapsedTime() const; float GetSmoothingConstant() const; float GetSnapThreshold() const; const String& GetVarName(ShortStringHash hash) const; void Update(float timeStep); void BeginThreadedUpdate(); void EndThreadedUpdate(); void DelayedMarkedDirty(Component* component); bool IsThreadedUpdate() const; unsigned GetFreeNodeID(CreateMode mode); unsigned GetFreeComponentID(CreateMode mode); void NodeAdded(Node* node); void NodeRemoved(Node* node); void ComponentAdded(Component* component); void ComponentRemoved(Component* component); void SetVarNamesAttr(String value); String GetVarNamesAttr() const; void PrepareNetworkUpdate(); void CleanupConnection(Connection* connection); void MarkNetworkUpdate(Node* node); void MarkNetworkUpdate(Component* component); void MarkReplicationDirty(Node* node); tolua_property__is_set bool updateEnabled; tolua_readonly tolua_property__is_set bool asyncLoading; tolua_readonly tolua_property__get_set float asyncProgress; tolua_property__get_set const String& fileName; tolua_readonly tolua_property__get_set unsigned checksum; tolua_property__get_set float timeScale; tolua_property__get_set float elapsedTime; tolua_property__get_set float smoothingConstant; tolua_property__get_set float snapThreshold; tolua_readonly tolua_property__is_set bool threadedUpdate; tolua_property__get_set String varNamesAttr; };