protected override void Dispose(bool disposing) { content.Unload(); boardView.Dispose(); base.Dispose(disposing); }
protected override void UnloadContent() { content.Unload(); using (IEnumerator <KeyValuePair <string, GameState> > list = gameStates.GetEnumerator()) { while (list.MoveNext()) { list.Current.Value.Dispose(); } } base.UnloadContent(); }