示例#1
0
        /// <summary>
        /// Checks if the Player in this game state can afford to move
        /// </summary>
        /// <param name="gs">The game state to check</param>
        /// <returns>If the player can afford to move</returns>
        public bool CanAffordMove(GameState gs, int cost)
        {
            PCModel pcm = gs.GetPCM();

            return(pcm.CanAffordToMove(cost, cost));
        }