コード例 #1
0
 public World(KaijuApp application)
     : base(application)
 {
     ActiveStates = new HashSet <GameStates>
     {
         GameStates.World,
     };
     _monsters = new List <Monster>();
 }
コード例 #2
0
 protected override void OnAfterRender(bool firstRender)
 {
     base.OnAfterRender(firstRender);
     if (firstRender)
     {
         _base.Initialize();
         _application = new KaijuApp(_jsRuntime, "kaiju-container");
         _application.Start();
     }
 }
コード例 #3
0
 protected Scene(KaijuApp application)
 {
     Application = application;
 }