selectCompanionScene work with svelte
This commit is contained in:
parent
471ff2bb01
commit
b8873d1277
18 changed files with 42 additions and 214 deletions
|
@ -4,14 +4,22 @@
|
|||
import {gameOverlayVisibilityStore} from "../Stores/MediaStore";
|
||||
import CameraControls from "./CameraControls.svelte";
|
||||
import MyCamera from "./MyCamera.svelte";
|
||||
import SelectCompanionScene from "./SelectCompanion/SelectCompanionScene.svelte";
|
||||
import {selectCompanionSceneVisibleStore} from "../Stores/SelectCompanionStore";
|
||||
import {Game} from "../Phaser/Game/Game";
|
||||
|
||||
export let game: Game;
|
||||
|
||||
</script>
|
||||
|
||||
<div>
|
||||
{#if $gameOverlayVisibilityStore}
|
||||
{#if $selectCompanionSceneVisibleStore}
|
||||
<SelectCompanionScene game={game}></SelectCompanionScene>
|
||||
{/if}
|
||||
<!-- {#if $menuIconVisible}
|
||||
<MenuIcon />
|
||||
{/if} -->
|
||||
{#if $gameOverlayVisibilityStore}
|
||||
<MyCamera></MyCamera>
|
||||
<CameraControls></CameraControls>
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue