<template>
  <div id="app">
    <Header version="pre-alpha" />
    <Combat :player="player" :enemy="enemy" />
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
import Combat from './components/Combat.vue'
import Header from './components/Header.vue'
import * as Creatures from '@/game/creatures'
import { Creature, POV } from '@/game/entity'

@Component({
  components: {
    Combat, Header
  }
})
export default class App extends Vue {
  player: Creature
  enemy: Creature
  constructor () {
    super()
    this.player = new Creatures.Player()
    this.enemy = new Creatures.Wolf()
    console.log(this.player)
    console.log(this.enemy)
  }
}
</script>

<style>
body, html {
  background: #111;
  width: 100%;
  height: 100%;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #ddd;
  background: #111;
  width: 100%;
  height: 100%;
}
</style>
