Exemplo n.º 1
0
        public MinMaxNode(cellNode[,] o, int myPosXIn, int myPosYIn, int enemyPosXIn, int enemyPosYIn, int generationIn, string movementIn, int myBombsPlacedIn, int myBombCapacityIn, int enemyBombsPlacedIn, int enemyBombCapacityIn)
        {
            this.state      = o;
            this.generation = generationIn;
            this.sons       = new LinkedList();
            this.score      = 0;

            this.myPosX     = myPosXIn;
            this.myPosY     = myPosYIn;
            this.enemyPosX  = enemyPosXIn;
            this.enemyPosY  = enemyPosYIn;
            this.movement   = movementIn;

            this.myBombsPlaced      = myBombsPlacedIn;
            this.myBombCapacity     = myBombCapacityIn;
            this.enemyBombsPlaced   = enemyBombsPlacedIn;
            this.enemyBombCapacity  = enemyBombCapacityIn;
        }
Exemplo n.º 2
0
 public Terminal(cellNode[,] o, int myPosXIn, int myPosYIn, int enemyPosXIn, int enemyPosYIn, int generationIn, string movementIn, int myBombsPlacedIn, int myBombCapacityIn, int enemyBombsPlacedIn, int enemyBombCapacityIn)
     : base(o, myPosXIn, myPosYIn, enemyPosXIn, enemyPosYIn, generationIn, movementIn, myBombsPlacedIn, myBombCapacityIn, enemyBombsPlacedIn, enemyBombCapacityIn)
 {
 }