move ecs related code to own folder
This commit is contained in:
12
src/lib/ecs/component/RepairToolComponent.h
Normal file
12
src/lib/ecs/component/RepairToolComponent.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include "entt/entity/entity.hpp"
|
||||
|
||||
struct RepairToolComponent
|
||||
{
|
||||
float ratePerTick;
|
||||
float range;
|
||||
std::optional<entt::entity> currentTarget;
|
||||
};
|
||||
Reference in New Issue
Block a user