Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class BattleSimulator
- {
- //...
- public Func<List<Turn>, Turn, bool> EvaluationFunction { get; }
- public BattleSimulator(Turn initial,
- Func<List<Turn>,Turn, bool> evaluationFunction)
- {
- Initial = initial;
- EvaluationFunction = evaluationFunction;
- Victories = new List<Turn>();
- Defeats = new List<Turn>();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement