예제 #1
0
파일: Bot.cs 프로젝트: mgiglia92/RLBots
        /// <summary>
        /// Allows the bot to set the games' state just like in training mode.
        /// </summary>
        /// <param name="gameState"></param>
        protected void SetGameState(GameState.GameState gameState)
        {
            if (gameState == null)
            {
                throw new ArgumentNullException("gameState");
            }

            RLBotInterface.SetGameStatePacket(gameState.BuildGameStatePacket());
        }
예제 #2
0
파일: Bot.cs 프로젝트: Dadle/RLBot
 protected void SetGameState(GameState.GameState gameState)
 {
     RLBotInterface.SetGameStatePacket(gameState.BuildGameStatePacket());
 }