|
@ -29,7 +29,7 @@ public class Program { |
|
|
boolean running = true; |
|
|
boolean running = true; |
|
|
|
|
|
|
|
|
while(running) { |
|
|
while(running) { |
|
|
ForwardInputToGameManager(); |
|
|
|
|
|
|
|
|
forwardInputToGameManager(); |
|
|
|
|
|
|
|
|
gameManager.Update(); |
|
|
gameManager.Update(); |
|
|
|
|
|
|
|
@ -41,7 +41,7 @@ public class Program { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void ForwardInputToGameManager() { |
|
|
|
|
|
|
|
|
public void forwardInputToGameManager() { |
|
|
try { |
|
|
try { |
|
|
for (char inputChar : input.inputList) { |
|
|
for (char inputChar : input.inputList) { |
|
|
gameManager.ProcessInput(inputChar); |
|
|
gameManager.ProcessInput(inputChar); |
|
|