public override bool use(Level level, Item item) { open = !open; if (open) Sound.click1.play(); else Sound.click2.play(); return true; }
public override bool use(Level level, Item item) { pressed = !pressed; if (pressed) tex = 3; else tex = 2; level.trigger(id, pressed); if (pressed) Sound.click1.play(); else Sound.click2.play(); return true; }
public override bool use(Level level, Item item) { return false; }
public GotLootMenu(Item item) { this.item = item; }