Original Post
Hey all,
I''m at the point in my engine where I need to code a texture manager and mesh manager.The way it would work is,the managers load up all the textures and meshes once and keeps them in memory and the actor classes would just have a reference to the mesh.When it''s time to render each actor,the engine will take the ref number from the actor class and draw the appropriate mesh with texture.Now,what I want to know is,how do I make these manager classes global to the ENTIRE engine? I was told that I should use a singleton class but I can''t seem to find more information about this.Any ideas? Or maybe I''m going about the whole problem the wrong way.If you guys have any suggestions,I''d love to hear them.Thanx!
