Closed GoogleCodeExporter closed 9 years ago
There actually seems to be more code that is incorrect on the same page, it
seems to be a copy and paste of the includes and first part of the
implementation
Original comment by icyflame...@gmail.com
on 6 May 2011 at 4:46
Page 52:
There are several references to 'causal' games, when I guess this should be
'casual'.
Page 180:
I think that this:
public void pause() {
running = false;
while(true) {
try {
renderThread.join();
} catch (InterruptedException e) {
// retry
}
}
}
should be this:
public void pause() {
running = false;
while(renderThread.isAlive()) {
try {
renderThread.join();
} catch (InterruptedException e) {
// retry
}
}
}
Original comment by cboursn...@gmail.com
on 29 May 2011 at 11:35
Or:
public void pause() {
running = false;
while(true) {
try {
renderThread.join();
break;
} catch (InterruptedException e) {
// retry
}
}
}
As it is later on in the book.
Original comment by cboursn...@gmail.com
on 30 May 2011 at 8:47
thanks, fixed in the second revision.
Original comment by badlogicgames
on 24 Aug 2011 at 4:00
Original issue reported on code.google.com by
icyflame...@gmail.com
on 6 May 2011 at 4:44