コード例 #1
0
        public static TextureManager init(GraphicsDevice graphicsDevice, ContentManager content)
        {
            Debug.Assert(instance_ == null);

            instance_ = new TextureManager(graphicsDevice, content);
            return instance_;
        }
コード例 #2
0
ファイル: Locator.cs プロジェクト: BigDub/HomePrototype
 public static void provide(TextureManager texture)
 {
     texture_ = texture;
 }