|
|
@ -67,7 +67,7 @@ private: |
|
|
|
public: |
|
|
|
public: |
|
|
|
Animate2D::Animation<std::string>animation; |
|
|
|
Animate2D::Animation<std::string>animation; |
|
|
|
Animate2D::AnimationState internal_animState; |
|
|
|
Animate2D::AnimationState internal_animState; |
|
|
|
std::map<Monster*,bool>hitList; |
|
|
|
std::set<Monster*>hitList; |
|
|
|
virtual ~Bullet()=default; |
|
|
|
virtual ~Bullet()=default; |
|
|
|
Bullet(vf2d pos,vf2d vel,float radius,int damage,bool upperLevel,bool friendly=false,Pixel col=WHITE,vf2d scale={1,1}); |
|
|
|
Bullet(vf2d pos,vf2d vel,float radius,int damage,bool upperLevel,bool friendly=false,Pixel col=WHITE,vf2d scale={1,1}); |
|
|
|
//Initializes a bullet with an animation.
|
|
|
|
//Initializes a bullet with an animation.
|
|
|
|