public void Execute(IGenerationInstruction instruction) { if (this.finished) { throw new Exception("Cannot modify game after finishing building game."); } instruction.Execute(this.game); }
public void Execute(IGenerationInstruction instruction) { if(this.finished) throw new Exception("Cannot modify game after finishing building game."); instruction.Execute(this.game); }
protected void executeInstruction(IGenerationInstruction instruction) { this.gameBuilder.Execute(instruction); }