protected void Init(cuttOfType cuttFunc, evalMethodType evalFunc, BaseGameAlgorithm <TravelGameState> algo, int goal, UndoGameAgent otherPlayer) { _algo = algo; _cuttFunc = cuttFunc; _evalFunc = evalFunc; Goal = goal; _otherPlayer = otherPlayer; }
public BaseGameAgent(cuttOfType cuttFunc, evalMethodType evalFunc, BaseGameAlgorithm <TravelGameState> algo, int startLocation, int goal, UndoGameAgent otherPlayer) : base(startLocation) { Init(cuttFunc, evalFunc, algo, goal, otherPlayer); }