Advertisement
Guest User

Untitled

a guest
Apr 26th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public class BattleSimulator
  2. {
  3. //...
  4. public Func<List<Turn>, Turn, bool> EvaluationFunction { get; }
  5.  
  6.  
  7. public BattleSimulator(Turn initial,
  8. Func<List<Turn>,Turn, bool> evaluationFunction)
  9. {
  10. Initial = initial;
  11. EvaluationFunction = evaluationFunction;
  12. Victories = new List<Turn>();
  13. Defeats = new List<Turn>();
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement