private void pbCollision_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; s1.DrawTransparentSprite(g, 100, 100); if (s2 != null) { s2.DrawTransparentSprite(g, 100 + (xOffset * Tile.SmallBitmapPixelSize), 100 + (yOffset * Tile.SmallBitmapPixelSize)); } }