Beispiel #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));
 }
Beispiel #2
0
 public AdventureLog(LogType type, int source, Coord sourceCoord, HashSet <Coord> sourceFovCoords, int target, Coord targetCoord, bool flag = true, ActivityLog activityLog = null)
     : base(type, "", activityLog)
 {
     Type            = type;
     Source          = source;
     Target          = target;
     SourceCoord     = sourceCoord;
     SourceFovCoords = sourceFovCoords;
     TargetCoord     = targetCoord;
     Flag            = flag;
     ActivityLog     = activityLog;
 }