mirror of https://github.com/PrimeDecomp/prime.git
28 lines
576 B
C++
28 lines
576 B
C++
#ifndef _CRUMBLEMANAGER
|
|
#define _CRUMBLEMANAGER
|
|
|
|
#include "types.h"
|
|
|
|
#include "Kyoto/Input/CRumbleGenerator.hpp"
|
|
|
|
class CStateManager;
|
|
class CVector3f;
|
|
|
|
class CRumbleManager {
|
|
public:
|
|
CRumbleManager();
|
|
~CRumbleManager();
|
|
|
|
short Rumble(CStateManager&, const CVector3f&, ERumbleFxId, float, ERumblePriority);
|
|
short Rumble(CStateManager&, ERumbleFxId, float, ERumblePriority);
|
|
|
|
void StopRumble(short id);
|
|
void HardStopAll() { x0_rumbleGenerator.HardStopAll(); }
|
|
void Update(float dt);
|
|
|
|
private:
|
|
CRumbleGenerator x0_rumbleGenerator;
|
|
};
|
|
|
|
#endif // _CRUMBLEMANAGER
|