You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
export default class Style{
constructor(gameInstanz) { this._game = gameInstanz; }
refreshDebug(){ $("#player").html("Spieler: " + this.game.currentPlayerInstanz.name); //$("#playerCards").html("Spieler: " + this.game.currentPlayerInstanz.name);
$("#cardOnDeck").html("Karte auf dem Tisch: " + this.game.cardOnDeck.name + " - " + this.game.cardOnDeck.color); $("#playerInGame").html("Spieler im Spiel: " + this.game.players.length); }
showDebug(){ $('#debug').show(); }
hideDebug(){ $('#debug').hide(); }
get game(){ return this._game; }
}
|