示例#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());
 }