public bool UndoCommand() { if (bomber != null) { bomber = Object.FindObjectOfType <BombReceiver>(); } return(bomber.Unbomb()); }
public bool ExecuteCommand() { if (bomber == null) { bomber = Object.FindObjectOfType <BombReceiver>(); } return(bomber.Bomb()); }