@ -148,7 +148,7 @@ struct DaggerStab:public Bullet{
float daggerStabDistance ;
float knockbackAmt ;
DirectionOffsets daggerPositionOffsets ;
DaggerStab ( Monster & sourceMonster , float radius , int damage , const float knockbackAmt , bool upperLevel , const Direction facingDir , const float daggerFrameDuration , const float daggerStabDistance , const DirectionOffsets offsets , bool friendly = false , Pixel col = WHITE ) ;
DaggerStab ( Monster & sourceMonster , const std : : string & image , float radius , int damage , const float knockbackAmt , bool upperLevel , const Direction facingDir , const float daggerFrameDuration , const float daggerStabDistance , const DirectionOffsets offsets , bool friendly = false , Pixel col = WHITE ) ;
void Update ( float fElapsedTime ) override ;
BulletDestroyState PlayerHit ( Player * player ) override ; //DO NOT CALL THIS DIRECTLY! INSTEAD USE _PlayerHit()!!
BulletDestroyState MonsterHit ( Monster & monster , const uint8_t markStacksBeforeHit ) override ; //DO NOT CALL THIS DIRECTLY! INSTEAD USE _MonsterHit()!!
@ -161,7 +161,7 @@ struct DaggerSlash:public Bullet{
float frameDuration ;
float daggerSlashDistance ;
float knockbackAmt ;
DaggerSlash ( Monster & sourceMonster , float radius , int damage , const float knockbackAmt , bool upperLevel , const Direction facingDir , const float daggerFrameDuration , const float daggerSlashDistance , bool friendly = false , Pixel col = WHITE ) ;
DaggerSlash ( Monster & sourceMonster , const std : : string & image , float radius , int damage , const float knockbackAmt , bool upperLevel , const Direction facingDir , const float daggerFrameDuration , const float daggerSlashDistance , bool friendly = false , Pixel col = WHITE ) ;
void Update ( float fElapsedTime ) override ;
BulletDestroyState PlayerHit ( Player * player ) override ; //DO NOT CALL THIS DIRECTLY! INSTEAD USE _PlayerHit()!!
BulletDestroyState MonsterHit ( Monster & monster , const uint8_t markStacksBeforeHit ) override ; //DO NOT CALL THIS DIRECTLY! INSTEAD USE _MonsterHit()!!