public static void DrawRange(Entity entity) { var color = (entity.Interaction.Target && entity.Interaction.TargetInRange()) ? Color.red : Color.yellow; DrawingTools.Circle(entity.Position, entity.Interaction.Range, color); }
public static void DrawLineOfSight(Entity entity) { var color = entity.Awareness.aggro.Any() ? Color.yellow : Color.green; DrawingTools.Circle(entity.Position, entity.Awareness.ligneOfSight, color); }