Exemple #1
0
        public void copy_status(BoardSquare copy_from)
        {
            beer_can_present = copy_from.beer_can_present;
            bender_present   = copy_from.bender_present;
            visited_state    = copy_from.visited_state;

            walls = copy_from.walls;
        }
Exemple #2
0
 public BoardSquare() : base()
 {
     walls = null;
 }
Exemple #3
0
        //Boardsquare cannot be constructed from a SquareBase, because it will lose its walls.

        public BoardSquare(BoardSquare set_from) : base(set_from)
        {
            walls = set_from.walls;
        }