public GameEngine(IRankList rankList, ICommandFactory commandFactory, IInputHandler inputHandler, IRenderer renderer) { this.hasStarted = true; this.hasEnded = false; this.isBombed = false; this.counter = 0; this.rankList = rankList; this.commandFactory = commandFactory; this.inputHandler = inputHandler; this.renderer = renderer; }
// // Construction // // Caller must create inner collection and provide it, since we can't know how to select the implementation. public AdaptRankListToRankMap(IRankList <KeyValue <KeyType, ValueType> > inner) { this.inner = inner; }