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