public void Draw(SpriteBatch spriteBatch) { if (!mDamaged) { mAtlas.Draw(spriteBatch, mSpriteName, mAnimationManager.GetCurrentSequenceKey(), mPosition, mInvuln ? 0.3f : 1.0f); } }
public void Draw(SpriteBatch sb) { SpriteEffects effect = mMoveState == MoveState.RIGHT ? SpriteEffects.None : SpriteEffects.FlipHorizontally; mEnemyAtlas.Draw(sb, mSpriteName, mAnimationManager.GetCurrentSequenceKey(), mPosition, effect); }