Ejemplo n.º 1
0
 public EnObsTurnInfo(ObservedTurnInfo ti)
 {
     Turn           = ti.Turn;
     GameState      = ti.GameState.ToString();
     PlayerStates   = ti.PlayerStates.Select(p => new EnPlayerState(p)).ToArray();
     MapChanges     = ti.MapChanges.Select(p => new EnMapChange(p)).ToArray();
     TecmanPosition = new EnPoint(ti.TecmanPosition);
     GhostPositions = ti.GhostPositions.Select(p => new EnPoint(p)).ToArray();
 }
Ejemplo n.º 2
0
 public EnMapChange(MapChange mc)
 {
     Position = new EnPoint(mc.Position);
     Value    = EnMapData.BuildTile(mc.Value).ToString();
 }