import { Component, OnInit } from '@angular/core'; import { Card } from '../card'; import { ANGOISSE, ANTRE, PLANET_MOCK, RESERVE_MOCK, RESISTANCE } from '../mock-card'; import { Planet } from '../planet'; import { Reserve } from '../reserve'; import { Score } from '../score'; @Component({ selector: 'app-game', templateUrl: './game.component.html', styleUrls: ['./game.component.css'] }) export class GameComponent implements OnInit { cards : Card[]; score : Score; planet : Planet; reserve : Reserve; constructor() { this.cards = [ANTRE, ANGOISSE, RESISTANCE]; this.score = {traque : 18, creature : 2, disposition : "FRONT"} this.planet = PLANET_MOCK; this.reserve = RESERVE_MOCK; } ngOnInit() { } }