HudItemButton::HudItemButton(const FRect &rect) :HudButton(rect), m_drop_count(-1) { setClickSound(HudSound::none); }
HudWeapon::HudWeapon(const FRect &target_rect) :HudButton(target_rect), m_attack_mode(AttackMode::undefined), m_ammo_count(0) { setClickSound(HudSound::none); }
MenuItem::MenuItem() : _hasTouchRectInited(false), _touchRect(CCRectZero), _touched(false), _clickSound(""), _clickSoundEnabled(true), _touchMovedCheckEnabled(false) { setUITouchEnabled(true); setCascadeOpacityEnabled(true); setClickSound(ResourceName::AUDIO_1_1); }