#pragma once #include "DeerCore/Tools/TypeDefs.h" namespace Deer { class EntityEnvironment; class WorldCamera; class GizmoRenderer; namespace World { // Clears all the assets and memory the World had conained void clear(); // This is the cycle to execution of scripts and physics void initExecution(); void tickExecution(); void endExecution(); bool getExecutingState(); uint32_t getCurrentExTick(); #ifdef DEER_RENDER // This function renders with the default camera in the environment void render(); void render(const WorldCamera&); extern GizmoRenderer gizmoRenderer; #endif extern EntityEnvironment environment; } // namespace World } // namespace Deer