mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 19:04:49 +00:00
Fixed takeFromCommandQueue returning void
This commit is contained in:
@@ -43,7 +43,7 @@ public class TicTacToe extends GameBase implements Runnable {
|
|||||||
commandQueue.add(command);
|
commandQueue.add(command);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void takeFromCommandQueue() {
|
private ParsedCommand takeFromCommandQueue() {
|
||||||
try {
|
try {
|
||||||
ParsedCommand cmd = this.commandQueue.take();
|
ParsedCommand cmd = this.commandQueue.take();
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user