SpiecsEngine
 
Loading...
Searching...
No Matches
RuntimeWorld.h
Go to the documentation of this file.
1/**
2* @file RuntimeWorld.h.
3* @brief The RuntimeWorld Class Definitions.
4* @author Spices.
5*/
6
7#pragma once
8#include "Core/Core.h"
9#include "World.h"
10
11namespace Spices {
12
13 /**
14 * @brief RuntimeWorld Class.
15 * This class defines the specific behave of RuntimeWorld.
16 */
18 {
19 public:
20
21 /**
22 * @brief Constructor Function.
23 */
24 RuntimeWorld() = default;
25
26 /**
27 * @brief Destructor Function.
28 */
29 virtual ~RuntimeWorld() override = default;
30
31 /**
32 * @brief This interface define the specific world behave before on activated.
33 */
34 virtual void OnPreActivate() override;
35
36 /**
37 * @brief This interface define the specific world behave on activated.
38 * @param[in] ts TimeStep.
39 */
40 virtual void OnActivate(TimeStep& ts) override;
41
42 /**
43 * @brief This interface defines the specific world behave after on activated.
44 */
45 virtual void OnDeactivate() override;
46
47 private:
48
49 };
50}
virtual void OnActivate(TimeStep &ts) override
This interface define the specific world behave on activated.
virtual ~RuntimeWorld() override=default
Destructor Function.
RuntimeWorld()=default
Constructor Function.
virtual void OnPreActivate() override
This interface define the specific world behave before on activated.
virtual void OnDeactivate() override
This interface defines the specific world behave after on activated.
RuntimeWorld Class. This class defines the specific behave of RuntimeWorld.
This Class handles our engine time step during frames. Global Unique.
Definition TimeStep.h:22
World Class. This class defines the basic behaves of World. When we create an new world,...
Definition World.h:41