コード例 #1
0
ファイル: ContextManager.cs プロジェクト: kjin/Ribbons
 public ContextManager(ContentManager content, GraphicsDevice graphicsDevice, SpriteBatch spriteBatch)
 {
     assets = new AssetManager();
     assets.LoadContent(content, graphicsDevice);
     canvas = new Canvas(assets, graphicsDevice, spriteBatch);
     input = new InputController(assets);
     storage = new StorageManager();
     LayoutTree layoutTree = LayoutEngine.BuildLayout(content.Load<Text>("master"));
     Integrate(assets, layoutTree.Root);
     assets.GetLevel("Level1");
 }