/// <summary> /// Schedule a new game. /// </summary> /// <param name="opponent">the opponent team</param> /// <param name="time">the date/time of the game</param> public Game(StadiumStructure _stadium, OpponentTeam _opponent, TimeLength _time) { this.stadium = _stadium; this.opponent = _opponent; this.date = World.world.clock + _time; World.world.clock.registerOneShot(new ClockHandler(onGameDate), _time); }
public Game(StadiumStructure _stadium, TimeLength _time) : this(_stadium, OpponentTeam.drawRandom(), _time) { }