import { Injectable } from '@angular/core'; import {Observable, of} from 'rxjs' import { Hand } from './hand'; import { HAND_TRAQUE_MOCK, PLANET_MOCK, RESERVE_MOCK, SCORE_MOCK } from './mock-card'; import { Planet } from './planet'; import { Reserve } from './reserve'; import { Score } from './score'; @Injectable({ providedIn: 'root' }) export class PlayerService { constructor() { } getScore() : Observable { return of(SCORE_MOCK); } getPlanet() : Planet { return PLANET_MOCK; } getReserve() : Reserve { return RESERVE_MOCK; } getHand() : Hand { return HAND_TRAQUE_MOCK; } }