예제 #1
0
        public void AddRobot(string name, int teamsize, byte[][] map)
        {
            int robotCount = RobotCount;

            for (int i = 1; i <= teamsize; i++)
            {
                RobotLoader loader = new RobotLoader();
                loader.Load(name, robotCount + i, Team, map);
                Robots.Add(loader);
            }
        }
예제 #2
0
 public GameObjectRobot(RobotLoader loader)
 {
     this.loader = loader;
     robotHost   = loader.RobotHost;
 }