Add energy bolt splash effect and fade out.
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
struct EnergyBolt:public Bullet{
|
||||
float lastParticleSpawn=0;
|
||||
EnergyBolt(vf2d pos,vf2d vel,float radius,int damage,Pixel col=WHITE);
|
||||
EnergyBolt(vf2d pos,vf2d vel,float radius,int damage,bool friendly=false,Pixel col=WHITE);
|
||||
void Update(float fElapsedTime)override;
|
||||
bool PlayerHit(Player&player)override;
|
||||
bool MonsterHit(Monster&monster)override;
|
||||
};
|
||||
Reference in New Issue
Block a user