| 43 | } |
| 44 | |
| 45 | void InstrumentItem::update(float, FireMode, bool, HashSet<MoveControlType> const&) { |
| 46 | if (entityMode() == EntityMode::Master) { |
| 47 | if (active()) { |
| 48 | m_activeCooldown--; |
| 49 | owner()->addEffectEmitters({"music"}); |
| 50 | } |
| 51 | } |
| 52 | owner()->instrumentEquipped(m_kind); |
| 53 | } |
| 54 | |
| 55 | bool InstrumentItem::active() const { |
| 56 | if (!initialized()) |
nothing calls this directly
no test coverage detected