Add player projectile auto attack flag to identify bullets for wind affecting. Release Build 9497.

This commit is contained in:
2024-05-30 10:42:47 -05:00
parent 5150f4f218
commit 05caa062e1
7 changed files with 30 additions and 8 deletions
+13
View File
@@ -213,4 +213,17 @@ Bullet&Bullet::SetFadeinTime(float fadeInTime){
const float&Bullet::GetFadeoutTimer()const{
return fadeOutTimer;
}
Bullet&Bullet::SetIsPlayerAutoAttackProjectile(){
playerAutoAttackProjectile=true;
return *this;
}
const bool Bullet::IsPlayerAutoAttackProjectile()const{
return playerAutoAttackProjectile;
}
void Bullet::AddVelocity(vf2d vel){
this->vel+=vel;
}