internal void Draw(SpriteBatch spriteBatch) { spriteBatch.Draw(texture, hitbox, sourceBox, Color.White); if (Visible || IsWall) { if (Item != null) { Item.DrawItem(spriteBatch); } if (IsOccupied) { Occupant.Draw(spriteBatch); } Visible = false; } else { spriteBatch.Draw(texture, hitbox, Tileset.FogSourceBox, Color.White); } }