Crimson Engine
1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Toggle main menu visibility
Loading...
Searching...
No Matches
PlayerControllerSystem.hpp
Go to the documentation of this file.
1
#pragma once
2
#include "
ecs/System.hpp
"
3
#include "
ecs/Registry.hpp
"
4
#include "
renderer/VulkanRenderer.hpp
"
5
#include "
editor/EditorModeState.hpp
"
6
13
class
PlayerControllerSystem
:
public
System
{
14
public
:
15
PlayerControllerSystem
(
Registry
& reg,
VulkanRenderer
&
renderer
,
EditorModeState
&
editorMode
);
16
17
void
update
(
float
dt)
override
;
18
19
private
:
20
Registry
&
registry
;
21
VulkanRenderer
&
renderer
;
22
EditorModeState
&
editorMode
;
23
};
EditorModeState.hpp
Registry.hpp
System.hpp
VulkanRenderer.hpp
PlayerControllerSystem::editorMode
EditorModeState & editorMode
Definition
PlayerControllerSystem.hpp:22
PlayerControllerSystem::update
void update(float dt) override
Pure virtual update function to implement system behaviors.
Definition
PlayerControllerSystem.cpp:16
PlayerControllerSystem::PlayerControllerSystem
PlayerControllerSystem(Registry ®, VulkanRenderer &renderer, EditorModeState &editorMode)
Definition
PlayerControllerSystem.cpp:13
PlayerControllerSystem::renderer
VulkanRenderer & renderer
Definition
PlayerControllerSystem.hpp:21
PlayerControllerSystem::registry
Registry & registry
Definition
PlayerControllerSystem.hpp:20
Registry
Coordinates entities and components, providing creation, removal, lookup, and views.
Definition
Registry.hpp:30
System
Base class for ECS systems that process sets of entities.
Definition
System.hpp:12
VulkanRenderer
Manages core Vulkan pipeline states, device interaction, frames, buffers, and command submissions.
Definition
VulkanRenderer.hpp:127
EditorModeState
Struct keeping track of active editor states (e.g. fly mode vs editor UI interaction).
Definition
EditorModeState.hpp:7
engine
include
ecs
systems
PlayerControllerSystem.hpp
Generated by
1.17.0