Removed addTexture function from world.