prime/include/MetroidPrime/CRumbleManager.hpp

28 lines
576 B
C++
Raw Permalink Normal View History

#ifndef _CRUMBLEMANAGER
#define _CRUMBLEMANAGER
#include "types.h"
#include "Kyoto/Input/CRumbleGenerator.hpp"
class CStateManager;
class CVector3f;
class CRumbleManager {
public:
CRumbleManager();
~CRumbleManager();
2022-10-17 11:10:16 +00:00
short Rumble(CStateManager&, const CVector3f&, ERumbleFxId, float, ERumblePriority);
short Rumble(CStateManager&, ERumbleFxId, float, ERumblePriority);
void StopRumble(short id);
2022-11-14 23:08:47 +00:00
void HardStopAll() { x0_rumbleGenerator.HardStopAll(); }
2022-10-17 11:10:16 +00:00
void Update(float dt);
private:
CRumbleGenerator x0_rumbleGenerator;
};
#endif // _CRUMBLEMANAGER