public void Draw(SpriteBatch spriteBatch, Vector2 camera) { DrawHelper.DrawLine(spriteBatch, pointL - camera, pointR - camera, Color.Yellow); }
public virtual void Draw(SpriteBatch spriteBatch) { spriteBatch.Draw(texture, DrawHelper.BuildRectangle(position - room.camera, size), Color.White); this.prevPosition = this.position; }
public void Draw(SpriteBatch spriteBatch, Vector2 camera) { DrawHelper.DrawRectangleOutline(spriteBatch, position.X - camera.X, position.Y - camera.Y, size.X, size.Y, Color.Yellow); }