|
- <template>
-
- <div class="objective" >
- <div>
- {{ objective.name }}
- <span v-if="objective.position"> ({{ objective.position }})</span>
- </div>
-
- <div><Timer ref="timer" :initialTime="objective.initialSpawnTime" /></div>
- </div>
- </template>
-
- <style lang="sass" scoped>
- .objective
- width: 100%
- text-align: center
- </style>
-
- <script>
- import Timer from '@/components/Battleground/Timer'
- export default {
- name: 'Objective',
- props: {
- objective: Object
- },
- data () {
- return {
- }
- },
- methods: {
- },
- components: {
- Timer
- }
- }
- </script>
|