public void Draw(Effect effect) { if (UpVisible) { Up.Draw(effect); } if (DownVisible) { Down.Draw(effect); } if (ForwardVisible) { Forward.Draw(effect); } if (BackwardVisible) { Backward.Draw(effect); } if (LeftVisible) { Left.Draw(effect); } if (RightVisible) { Right.Draw(effect); } }
public override void Draw(SpriteBatch batch) { base.Draw(batch); Left.Draw(batch); Right.Draw(batch); Up.Draw(batch); Down.Draw(batch); }