mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 04:57:00 +00:00
@@ -1,7 +1,7 @@
|
||||
#ifndef _CRIPPLEMANAGER
|
||||
#define _CRIPPLEMANAGER
|
||||
|
||||
#include "types.h"
|
||||
#include "MetroidPrime/TGameTypes.hpp"
|
||||
|
||||
#include "rstl/vector.hpp"
|
||||
|
||||
@@ -12,6 +12,14 @@ private:
|
||||
float x0_maxTimeFalloff;
|
||||
rstl::vector< CRipple > x4_ripples;
|
||||
float x14_alpha;
|
||||
|
||||
public:
|
||||
CRippleManager(int maxRipples, float alpha);
|
||||
|
||||
void Init(int maxRipples);
|
||||
void Update(float dt);
|
||||
float GetLastRippleDeltaTime(TUniqueId rippler) const;
|
||||
void AddRipple(const CRipple& ripple);
|
||||
};
|
||||
|
||||
#endif // _CRIPPLEMANAGER
|
||||
|
||||
Reference in New Issue
Block a user