Files
dota_factory/src/lib/ecs/component/WeaponComponent.h
2026-06-05 20:09:20 +02:00

15 lines
233 B
C++

#pragma once
#include <optional>
#include "entt/entity/entity.hpp"
struct WeaponComponent
{
float damage;
float range_tiles;
float fireRateHz;
float cooldownTicks;
std::optional<entt::entity> currentTarget;
};