Esempio n. 1
0
 protected AbstractSingleActorSerializable(AbstractSingleActor actor, ParsedLog log, CombatReplayMap map, CombatReplay replay, string type)
 {
     Img       = GeneralHelper.GetIcon(actor);
     ID        = actor.GetCombatReplayID(log);
     Positions = new List <double>();
     Type      = type;
     foreach (Point3D pos in replay.PolledPositions)
     {
         (double x, double y) = map.GetMapCoord(pos.X, pos.Y);
         Positions.Add(x);
         Positions.Add(y);
     }
 }