public Screen(Fonts fonts) { this.fonts = fonts; this.cloud = new Services(); cards = new List <MemoryCard>(); position = new CardPositions(); firstPickedCard = cleanCard(); sounds = new SoundVault(new List <AvailableSounds>() { AvailableSounds.END_GAME, AvailableSounds.CARTOONSPLIT, AvailableSounds.CARTOON_HOP, }, 1); }
void resetBoard() { isGameFinished = false; cloud.isSent = false; cards = new List <MemoryCard>(); position = new CardPositions(); firstPickedCard = cleanCard(); generateCards(); replyProgress = 0; exitProgress = 0; points = 0; getScoreFromCloud(); sounds.resetSounds(); }