// fsm interface public void ToggleCheat() { if (buttonPanel != null) { buttonPanel = null; } else { buttonPanel = new ButtonPanel(UI.GetPuzzleArea(), BlockSpawn.GetDart(subClassEntity.subClassCode), heroCharacter, itemDropManager, 0); buttonPanel.SetQueue(user.commandQueue); } }
// fsm interface public void ToggleCheat() { if (buttonPanel != null) { buttonPanel = null; } else { buttonPanel = new ButtonPanel(UI.GetPuzzleArea(), heroEntity, heroCharacter, itemDropManager, stageEntity.ConsumableTier); buttonPanel.SetQueue(user.commandQueue); } }