level-up/frontend/screens/PlayerScreen.vue
Moritz Ruth 3498bbb8ad
All checks were successful
Build / build (push) Successful in 1m20s
Add virtual curtain
2025-04-14 17:37:03 +02:00

19 lines
No EOL
789 B
Vue

<template>
<component :is="game.currentScene.type.playerView" :controller="game.currentScene.controller" :definition="game.currentScene.definition"/>
<div class="flex flex-col justify-center items-center text-lg inset-0 absolute bg-dark-900 transition" :class="game.isVirtualCurtainOpen && 'opacity-0 pointer-events-none'">
<span class="text-center">mega_cooler_vorhang.jpg</span>
</div>
<div class="flex flex-col justify-center items-center text-lg inset-0 absolute bg-dark-900 transition" :class="game.isConnected && 'opacity-0 pointer-events-none'">
<span class="text-center">Verbindung wird hergestellt</span>
</div>
</template>
<style module lang="scss">
</style>
<script setup lang="ts">
import { useGame } from "../game"
const game = useGame()
</script>