Beispiel #1
0
        public InfoCollector(ItemManager <Ship> shipsManager, ItemManager <ResourceArea> resourceArea)
        {
            left  = new playerInfo();
            right = new playerInfo();

            left.FactionNum  = 1;
            right.FactionNum = 2;

            this.shipManager  = shipsManager;
            this.resourceArea = resourceArea;
        }
Beispiel #2
0
 private string AddPlayerInfo(playerInfo pInfo)
 {
     return(pInfo.FactionNum.ToString() + ";" + pInfo.ShipColor.R.ToString() + ";" + pInfo.ShipColor.G.ToString() + ";" + pInfo.ShipColor.B.ToString() + ";" + pInfo.PlayerName);
 }