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); }
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); }