예제 #1
0
        public GameManagerModel CheckIfAreaIsAvailable(GameManagerModel model, AreaScript areaScript)
        {
            if (areaScript.Model.Type != SignType.DEFAULT)
            {
                return(model);
            }

            areaScript.UpdateSign(SignType.COMPUTER_SIGN);
            model.ComputerTurnCompleted = true;
            return(model);
        }
예제 #2
0
        public GameManagerModel CheckAreaSignType(GameManagerModel model, AreaScript script)
        {
            if (script.Model.Type != SignType.DEFAULT)
            {
                return(model);
            }

            model.PlayerTurnCompleted = true;
            script.UpdateSign(SignType.PLAYER_SIGN);
            return(model);
        }