Esempio n. 1
0
        public IField StartApp()
        {
            Player         p       = new Player("azazalo");
            IRobotProducer rp      = new RobotProducer();
            Robot          MyRobot = rp.PickRobot(p.PlayerId);
            IFieldBuilder  b       = new FieldBuilder();

            this.builder = b;
            var field = builder.CreateField(10, 10, MyRobot);

            return(field);
        }
Esempio n. 2
0
 public void Final()
 {
     this.rp = null;
 }
Esempio n. 3
0
 public void Clear()
 {
     prod = null;
 }
Esempio n. 4
0
 public void Init()
 {
     this.rp = new RobotProducer();
 }
Esempio n. 5
0
 public void Init()
 {
     prod = new RobotProducer();
 }