Exemplo n.º 1
0
 // 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);
     }
 }
Exemplo n.º 2
0
 // 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);
     }
 }