1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-24 23:25:37 +01:00
GiantsTools/Sdk/Include/AI/Public/Components/Senses.h

25 lines
747 B
C
Raw Normal View History

2021-01-24 00:40:09 +01:00
#pragma once
#include "ECS/Public/Entity.h"
namespace AI
{
const float DefaultSightRange = 600.0f;
const float DefaultProjectileHearingRange = 300.0f;
const float DefaultMortarHearingRange = DefaultProjectileHearingRange * 2.0f;
struct Senses
{
float EnemySightRange = DefaultSightRange;
float EnemyProjectileSightRange = DefaultSightRange;
float EnemyProjectileHearingRange = DefaultProjectileHearingRange;
float EnemyMortarHearingRange = DefaultMortarHearingRange;
bool TrackEnemies = true;
bool TrackEnemyProjectiles = true;
std::vector<std::shared_ptr<ECS::Entity>> KnownEnemies;
std::vector<std::shared_ptr<ECS::Entity>> KnownEnemyProjectiles;
};
}