/// <summary> /// Player has pressed "Room" so we will want to add that as the pending action as well as possibly clear up other pending actions /// </summary> /// <returns>TRUE if the button action is successful, FALSE if there's any obstacle/failure</returns> protected bool ButtonRoomAction() { //There's another pending action, so we should probably clean it up first if (m_currentPendingCreationAction != CreationAction.None) { CleanUpPendingAction(); } CameraManager.Singleton.selectionMode = CameraManager.CameraSelectionMode.Tiles; m_currentPendingCreationAction = CreationAction.Room; return(true); }
public void AddCreationBinding(List<Key> keys, CreationAction action) { CreationBindings.Add(new CreationBinding(keys, action)); }
public CreationBinding(List<Key> keys, CreationAction action) { KeyCombo = keys; Action = action; }
public void AddCreationBinding(List <Key> keys, CreationAction action) { CreationBindings.Add(new CreationBinding(keys, action)); }
public CreationBinding(List <Key> keys, CreationAction action) { KeyCombo = keys; Action = action; }