Current Forum: Homework 6 - Part II |
Date: Wed Dec 5 2001 10:24 am |
Author: Fields, David C. <dcf@andrew.cmu.edu> |
Subject: Re: GreedyPlayer broken? |
|
|
actually, all of my statics are declared "static final" and hence never change after they're initialized which happens the first time the class is instatiated by use of a static{} block. ANYWAY, i made a small oversight when coding the copy constructor:
thing = thing;
rather than:
thing = b.thing; //where b is the board to copy
OOPS! it works just fine now.
-Dave |
|