public void drawOnMap(SpriteBatch batch, Texture2D tex, Vector2 pos) { //If the tile is empty if (tex == null) return; //Find the screen position for the texture Vector2 scrpos = worldToScreen(pos); batch.Draw(tex, scrpos, null, Color.White, 0f, Vector2.Zero, scale, SpriteEffects.None, 0f); }