private void DrawCellImage(Context context, FieldCell cell, TextureImage image) { float drawX = cell.GetPx() - 0.5f * image.GetWidth(); float drawY = cell.GetPy() - 0.5f * image.GetHeight(); context.DrawImage(image, drawX, drawY); }