public override void Draw(GameTime gameTime) { _particleEngine.Draw(gameTime); float angle = -1 * MathHelper.ToRadians(GenericHelperModule.GetProperOrientation(this.Dir)); this.SetOrientation(angle); base.Draw(gameTime); }
public void Draw(GameTime gameTime) { if (IsExploded) { timeToVanish++; if (timeToVanish == 150) { StaticData.EngineManager.RocketsManagerEngine.ListOfRockets.Remove(this); } } // Draw particles _particleEngine.Draw(gameTime); }