3 using Microsoft.Xna.Framework;
4 using System.Collections.Generic;
14 public string Name =>
"Wreck AI Config";
27 public string Brain {
get;
private set; }
92 return element.GetAttributeIdentifier(
"Entity", base.DetermineIdentifier(element));
readonly Identifier Identifier
Prefab that has a property serves as a deterministic hash of a prefab's identifier....
static Dictionary< Identifier, SerializableProperty > DeserializeProperties(object obj, XElement element=null)
float AgentSpawnDelayRandomFactor
string BrainRoomVerticalWall
float AgentSpawnCountDifficultyMultiplier
bool KillAgentsWhenEntityDies
float DeadEntityColorMultiplier
Identifier DefensiveAgent
string BrainRoomHorizontalWall
static readonly PrefabCollection< WreckAIConfig > Prefabs
Dictionary< Identifier, SerializableProperty > SerializableProperties
readonly Identifier[] ForbiddenAmmunition
string BrainRoomBackground
override Identifier DetermineIdentifier(XElement element)
float DeadEntityColorFadeOutTime
int MinAgentsPerBrainRoom
float AgentSpawnDelayDifficultyMultiplier
static WreckAIConfig GetRandom()
WreckAIConfig(ContentXElement element, WreckAIConfigFile file)