Fix bug with missing return value for effect updating.
This commit is contained in:
+4
-4
@@ -4,10 +4,10 @@
|
||||
#include "olcUTIL_Animate2D.h"
|
||||
|
||||
struct Effect{
|
||||
vf2d pos;
|
||||
float lifetime;
|
||||
float fadeout;
|
||||
float size;
|
||||
vf2d pos={0,0};
|
||||
float lifetime=0;
|
||||
float fadeout=0;
|
||||
float size=1;
|
||||
Effect(vf2d pos,float lifetime,AnimationState animation,float size=1.0f,float fadeout=0.0f);
|
||||
bool Update(float fElapsedTime);
|
||||
Animate2D::Frame GetFrame();
|
||||
|
||||
Reference in New Issue
Block a user