Esempio n. 1
0
        public void setStadium(Stadium st)
        {
            this.std = st;

            foreach (var m in std.Balls)
            {
                comboBox1.Items.Add("Ball " + m.Id);
            }

            foreach (var m in std.Players)
            {
                comboBox1.Items.Add("Player " + m.Team + " " + m.Unum);
            }
        }
Esempio n. 2
0
 /// <summary>
 /// Server constructor
 /// </summary>
 /// <param name="stadium">Stadium being driver by the server.</param>
 public Server(Stadium stadium)
 {
     simulatedStadium = stadium;
     simulatedStadium.init();
     simulatedStadium.Playmode = PlayMode.PlayOn;
 }
 public HyperNEATKeepawayPlayer(RoboCup.Stadium std, string team, int unum, string side, int numK, int numT)
     : base(std, team, unum, side, numK, numT)
 {
 }