2
3
4
5
10#include "Core/Event/MouseEvent.h"
15
16
20
21
27
28
32
33
37
38
39
43
44
45
51
52
53
54
60
61
65
66
#define BIND_EVENT_FN(x)
Bind Event.
#define SPICES_PROFILE_ZONE
Entity Class. This class defines the specific behaves of Entity.
EventDispatcher(Event &event)
Constructor Function.
This Class store a Specific Event type first and Dispatch a event handle function to it.
This Class is the basic Event Class. Inherit from it and create specific event class.
static FrameInfo & Get()
Get FrameInfo.
FrameInfo Class. This class defines the FrameInfo data.
The ImguiViewport Class. This class defines how to render a viewport.
TagComponent Class. This class defines the specific behaves of TagComponent.
This Class handles our engine time step during frames. Global Unique.
virtual void OnTick(TimeStep &ts) override
This interface defines the behave on specific component tick every frame.
virtual ~WorldPickIDQuerier() override=default
Destructor Function.
WorldPickIDQuerier()=default
Constructor Function.
bool OnMouseButtonPressed(MouseButtonPressedEvent &e)
Event OnKeyPressed.
std::weak_ptr< ImguiViewport > m_ViewPort
viewport pointer.
float m_WorldPickID[4]
World Picked entity id (only use channel 0).
virtual void OnEvent(Event &e) override
This interface defines the behave on specific component event happened.
Script of handle world entity pick.