This site requires JavaScript, please enable it in your browser!
Greenfoot back
puddle148
puddle148 wrote ...

2017/1/24

Score

1
2
danpost danpost

2017/1/24

#
puddle148 wrote...
danpost whenever i take the static context off of the counters the PlayerScore and dealerScore get errors saying non static cant be referenced from static context.
Alright. I guess you can keep the Counter object fields, only those containing Counter objects, as static fields; but, I suggest that you assign their objects in your world constructor -- not in their line of declaration.
You need to login to post a reply.
1
2