public void BtnStreet() { UiController.EnableEditionMode(); GameplayController.SetInsertionModel(Tags.Street); GameplayController.SetCurrentMode(TouchBehavior.Building); }
public void BtnOption4() { lock (UiController.TouchOnUILock) { UiController.TouchOnUI = true; } UiController.EnableEditionMode(); GameplayController.SetInsertionModel(Tags.Clean); GameplayController.SetCurrentMode(TouchBehavior.Building); }
public void BtnSchool(int educationType) { switch (educationType) { case BIG: GameplayController.SetInsertionModel(Tags.University); break; case SMALL: GameplayController.SetInsertionModel(Tags.DayCarePost); break; case MEDIUM: GameplayController.SetInsertionModel(Tags.HighSchool); break; } UiController.EnableEditionMode(); GameplayController.SetCurrentMode(TouchBehavior.Building); }
public void BtnPolice(int securityType) { switch (securityType) { case BIG: GameplayController.SetInsertionModel(Tags.PoliceHeadquartes); break; case SMALL: GameplayController.SetInsertionModel(Tags.SecurityCabin); break; case MEDIUM: GameplayController.SetInsertionModel(Tags.PoliceStation); break; } UiController.EnableEditionMode(); GameplayController.SetCurrentMode(TouchBehavior.Building); }
public void BtnHospital(int healthType) { switch (healthType) { case BIG: GameplayController.SetInsertionModel(Tags.Hospital); break; case SMALL: GameplayController.SetInsertionModel(Tags.FirstAidPost); break; case MEDIUM: GameplayController.SetInsertionModel(Tags.Clinic); break; } UiController.EnableEditionMode(); GameplayController.SetCurrentMode(TouchBehavior.Building); }
public void BtnCancel() { lock (UiController.TouchOnUILock) { UiController.TouchOnUI = true; } UiController.EnableNormalMode(); GameplayController.CancelInsertion(); }
public void BtnAccept() { lock (UiController.TouchOnUILock) { UiController.TouchOnUI = true; } UiController.EnableNormalMode(); GameplayController.AcceptInsertion(); }
public void BtnGiveup() { GameplayController.CtrlZInsertion(); }