Fix refresh Lua binding and comments
This commit is contained in:
parent
a9364ab7e2
commit
34fe5dd466
|
|
@ -66,11 +66,11 @@ namespace Ndk
|
|||
inline bool IsEntityIdValid(EntityId id) const;
|
||||
inline bool IsProfilerEnabled() const;
|
||||
|
||||
void Refresh();
|
||||
|
||||
inline void RemoveAllSystems();
|
||||
inline void RemoveSystem(SystemIndex index);
|
||||
template<typename SystemType> void RemoveSystem();
|
||||
|
||||
void Refresh();
|
||||
inline void ResetProfiler();
|
||||
|
||||
void Update(float elapsedTime);
|
||||
|
|
|
|||
|
|
@ -182,7 +182,9 @@ namespace Ndk
|
|||
world.BindMethod("DisableProfiler", &World::DisableProfiler);
|
||||
world.BindMethod("EnableProfiler", &World::EnableProfiler);
|
||||
world.BindMethod("IsProfilerEnabled", &World::IsProfilerEnabled);
|
||||
world.BindMethod("Refresh", &World::Refresh);
|
||||
world.BindMethod("ResetProfiler", &World::ResetProfiler);
|
||||
world.BindMethod("Update", &World::Update);
|
||||
|
||||
world.BindMethod("IsValidHandle", &WorldHandle::IsValid);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -178,6 +178,7 @@ namespace Ndk
|
|||
* - Destroying dead entities and allowing their ids to be used by newly created entities
|
||||
* - Update dirty entities, destroying their removed components and filtering them along systems
|
||||
*
|
||||
* \remark This is called automatically by Update and you most likely won't need to call it yourself
|
||||
* \remark Calling this outside of Update will not increase the profiler values
|
||||
*
|
||||
* \see GetProfilerData
|
||||
|
|
|
|||
Loading…
Reference in New Issue