Exemplo n.º 1
0
        public static TextureManager init(GraphicsDevice graphicsDevice, ContentManager content)
        {
            Debug.Assert(instance_ == null);

            instance_ = new TextureManager(graphicsDevice, content);
            return instance_;
        }
Exemplo n.º 2
0
 public static void provide(TextureManager texture)
 {
     texture_ = texture;
 }