public void caseComplete(bool correct, char casetype) { if (correct) { total_correct++; NumCoins += 50; Experience += 50; } currblock.caseComplete(correct, casetype); //if that block is complete return it so it can be added to the completed //BLOCKSIZE DETERIMINED BY THIS MODULO if ((currblock.CHF + currblock.COPD + currblock.Pneumonia) % 10 == 0) { BlockStats temp = currblock; currblock = new BlockStats(NextCase); if (temp != null) { Blocks.Add(temp); } } }
public Player() { currblock = new BlockStats(0); ExpLevel = "undergrad"; Blocks = new List <BlockStats>(); }