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