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); } }
public GameObjectRobot(RobotLoader loader) { this.loader = loader; robotHost = loader.RobotHost; }