public void Dispose() { if (playerService != null) { playerService.Dispose(); playerService = null; } if (aiEntities != null) { aiEntities.Dispose(); aiEntities = null; } if (shouldSell != null) { shouldSell = null; } if (shouldBuy != null) { shouldBuy = null; } if (curGame != null) { curGame = null; } if (list != null) { list = null; } }
public void Dispose() { if (playerEntities != null) { playerEntities.Dispose(); playerEntities = null; } }
public void Dispose() { if (gameEntities != null) { gameEntities.Dispose(); gameEntities = null; } }