mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-11-23 22:55:37 +01:00
25 lines
747 B
C++
25 lines
747 B
C++
#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;
|
|
};
|
|
}
|