/// <summary> /// Initializes the riddle set. /// </summary> public void InitRiddleSet() { if (this._riddlesLeft.Count > 0) { this._riddlesLeft.Clear(); } foreach (GameRiddle riddle in this.riddles) { if (riddle != null) { this._riddlesLeft.Add(riddle); } } if (this._runtimeRiddleManager == null) { this._runtimeRiddleManager = new RuntimeRiddleManager(this); } }
public RuntimeRiddle(RuntimeRiddleManager runtimeRiddleManager, GameRiddle clue) { this._gameClue = clue; this._preScannedObject = null; this._runtimeRiddleManager = runtimeRiddleManager; }