Add player projectile auto attack flag to identify bullets for wind affecting. Release Build 9497.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user