예제 #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;
 }