public PlayerState(PlayerState state)
 {
     this.Bank = new Bank(state.Bank);
     this.Grid = new Grid(state.Grid);
 }
Exemple #2
0
        //public SimplePriorityQueue<SearchNode> Children { get; private set;  } = new SimplePriorityQueue<SearchNode>();

        public SearchNode(PlayerState state, int movesToReach)
        {
            this.State        = state;
            this.MovesToReach = movesToReach;
        }