public abstract bool IsInReach(AdventureEntity combatant);
public void Remove(AdventureEntity entitiy) { Entities.Remove(entitiy); }
public abstract bool CanSee(AdventureEntity combatant);
public void Add(AdventureEntity entitiy) { Entities.Add(entitiy); }
public static AdventureLog Info(Combatant entity, AdventureEntity target, ActivityLog activityLog) { return(new AdventureLog(LogType.Info, entity.AdventureEntityId, entity.Coordinate, entity.FovCoords, activityLog: activityLog)); }
public static AdventureLog Attacked(Combatant entity, AdventureEntity target) { return(new AdventureLog(LogType.Attack, entity.AdventureEntityId, entity.Coordinate, entity.FovCoords, target.AdventureEntityId, target.Coordinate)); }
public static AdventureLog EntityRemoved(AdventureEntity entity) { return(new AdventureLog(LogType.Entity, entity.AdventureEntityId, entity.Coordinate, flag: false)); }
public static AdventureLog EntityCreated(AdventureEntity entity) { return(new AdventureLog(LogType.Entity, entity.AdventureEntityId, entity.Coordinate, entity is Combatant combatant ? combatant.FovCoords : null)); }