示例#1
0
 public static AdventureLog Info(Combatant entity, AdventureEntity target, ActivityLog activityLog)
 {
     return(new AdventureLog(LogType.Info, entity.AdventureEntityId, entity.Coordinate, entity.FovCoords, activityLog: activityLog));
 }
示例#2
0
 public static AdventureLog Attacked(Combatant entity, AdventureEntity target)
 {
     return(new AdventureLog(LogType.Attack, entity.AdventureEntityId, entity.Coordinate, entity.FovCoords, target.AdventureEntityId, target.Coordinate));
 }
示例#3
0
 public static AdventureLog Died(Combatant entity)
 {
     return(new AdventureLog(LogType.Died, entity.AdventureEntityId, entity.Coordinate, entity.FovCoords));
 }
示例#4
0
 public static AdventureLog EntityMoved(Combatant entity, Coord destination)
 {
     return(new AdventureLog(LogType.Move, entity.AdventureEntityId, entity.Coordinate, entity.FovCoords, 0, destination));
 }