Feat : Beta animations

This commit is contained in:
2024-06-30 14:51:06 +02:00
parent 1fbe9a57ee
commit 28bc888cb1
9 changed files with 173 additions and 77 deletions
+13 -18
View File
@@ -118,11 +118,14 @@ function checkEndTurn() {
make Discard
</button>
</div> -->
<br />
<!-- <br /> -->
<div class="cards_container">
<!-- HAND -->
<!-- <template v-if="isSelf">
<CardsGrouped :container="player.board" :wrapped="false">
</CardsGrouped>
<!-- <div class="cards_container"> -->
<!-- HAND -->
<!-- <template v-if="isSelf">
<CardPreview :card_id="c?.card_id" v-for="c in props.player.hand" @click="c && playCard(c)">
<button
v-if="props.player.turn && c && isSelf && (props.player.turn.discard_markers + props.player.turn.fuck_u_markers) > 0"
@@ -132,12 +135,12 @@ function checkEndTurn() {
</CardPreview>
</template> -->
<!-- BOARD -->
<CardPreview :card_id="c.cardId" v-for="c in props.player.board.cards"
<!-- BOARD -->
<!-- <CardPreview :card_id="c.cardId" v-for="c in props.player.board.cards"
@click="console.log/*lockCard(c)*/"
:locked="/*props.player.turn && c.uuid in props.player.turn.cards_locked*/ false">
:locked="/*props.player.turn && c.uuid in props.player.turn.cards_locked*/ false"> -->
<!-- <template v-if="c && isSelf && isPlayerTurn && props.player.turn">
<!-- <template v-if="c && isSelf && isPlayerTurn && props.player.turn">
// Card Locked
<template v-if="c.uuid in props.player.turn.cards_locked">
<template v-for="e in clientStore.maskedServerEffects">
@@ -190,8 +193,8 @@ function checkEndTurn() {
STUN
</button>
</template> -->
</CardPreview>
</div>
<!-- </CardPreview> -->
<!-- </div> -->
</div>
</div>
</template>
@@ -271,14 +274,6 @@ function checkEndTurn() {
}
.discard_overlay {
grid-template-areas:
"player_stats player_stats"
"stack player";
justify-items: center;
}
#current_player_board {
grid-area: player;
}