Пример #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;
 }