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 Died(Combatant entity) { return(new AdventureLog(LogType.Died, entity.AdventureEntityId, entity.Coordinate, entity.FovCoords)); }
public static AdventureLog EntityMoved(Combatant entity, Coord destination) { return(new AdventureLog(LogType.Move, entity.AdventureEntityId, entity.Coordinate, entity.FovCoords, 0, destination)); }