Esempio n. 1
0
        /// <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());
        }
Esempio n. 2
0
File: Bot.cs Progetto: Dadle/RLBot
 protected void SetGameState(GameState.GameState gameState)
 {
     RLBotInterface.SetGameStatePacket(gameState.BuildGameStatePacket());
 }