public void UpdatePlayerIsActive() { if (!this.IsActive) { if (ActiveInput.GetFire()) { this.IsActive = true; } } }
public void UpdateFiringState() { if (ActiveInput.GetFire()) { if (CanFire) { IsFiring = true; CanFire = false; //LastFireTime = References.Settings.Instance.GameTime.TotalGameTime.Seconds; } else { IsFiring = false; } } else { CanFire = true; IsFiring = false; } }