Пример #1
0
        public static TextureManager init(GraphicsDevice graphicsDevice, ContentManager content)
        {
            Debug.Assert(instance_ == null);

            instance_ = new TextureManager(graphicsDevice, content);
            return instance_;
        }
Пример #2
0
 public static void provide(TextureManager texture)
 {
     texture_ = texture;
 }