|
@@ -1,7 +1,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="battleground" v-if="battleground"> |
|
|
<div class="battleground" v-if="battleground"> |
|
|
<div>Welcome to {{ battleground.name }}</div> |
|
|
<div>Welcome to {{ battleground.name }}</div> |
|
|
<Timer initialTime="90"></Timer> |
|
|
|
|
|
|
|
|
<Objective></Objective> |
|
|
<router-link to="/battlegrounds">Back to selector</router-link> |
|
|
<router-link to="/battlegrounds">Back to selector</router-link> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
@@ -10,6 +10,7 @@ |
|
|
<script> |
|
|
<script> |
|
|
import BATTLEGROUNDS from '../gameInfos/maps' |
|
|
import BATTLEGROUNDS from '../gameInfos/maps' |
|
|
import Timer from '@/components/Battleground/Timer' |
|
|
import Timer from '@/components/Battleground/Timer' |
|
|
|
|
|
import Objective from '@/components/Battleground/Objective' |
|
|
export default { |
|
|
export default { |
|
|
name: 'Battleground', |
|
|
name: 'Battleground', |
|
|
data () { |
|
|
data () { |
|
@@ -27,7 +28,8 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
components: { |
|
|
components: { |
|
|
Timer |
|
|
|
|
|
|
|
|
Timer, |
|
|
|
|
|
Objective |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|