SpiecsEngine
 
Loading...
Searching...
No Matches
MainTaskQuerier.h
Go to the documentation of this file.
1/**
2* @file MainTaskQuerier.h.
3* @brief The MainTaskQuerier Definitions.
4* @author Spices.
5*/
6
7#pragma once
8#include "Core/Core.h"
9#include "NativeScript.h"
10
11namespace Spices {
12
13 /**
14 * @brief Script of handle world mark.
15 */
17 {
18 public:
19
20 /**
21 * @brief Constructor Function.
22 */
23 MainTaskQuerier() = default;
24
25 /**
26 * @brief Destructor Function.
27 */
28 virtual ~MainTaskQuerier() override = default;
29
30 /**
31 * @brief This interface defines the behave on specific component tick every frame.
32 * @param[in] ts TimeStep.
33 */
34 virtual void OnTick(TimeStep& ts) override;
35
36 /**
37 * @brief This interface defines the behave on specific component event happened.
38 * @param[in] e Event.
39 */
40 virtual void OnEvent(Event& e) override {};
41 };
42}
#define SPICES_PROFILE_ZONE
This Class is the basic Event Class. Inherit from it and create specific event class.
Definition Event.h:96
virtual ~MainTaskQuerier() override=default
Destructor Function.
virtual void OnTick(TimeStep &ts) override
This interface defines the behave on specific component tick every frame.
virtual void OnEvent(Event &e) override
This interface defines the behave on specific component event happened.
MainTaskQuerier()=default
Constructor Function.
Script of handle world mark.
Native C++ Script Class.
This Class handles our engine time step during frames. Global Unique.
Definition TimeStep.h:22