mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +01:00
Rydder opp i BoardActiveScreen
Legger til manglende kommentar for klasse Legger til mellomrom på begge sider av matematiske tegn
This commit is contained in:
parent
5c3d6bcd5e
commit
95f3d3dd3e
@ -21,6 +21,9 @@ import inf112.fiasko.roborally.utility.TextureConverterUtil;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* This screen shows the game board in real time
|
||||
*/
|
||||
public class BoardActiveScreen extends AbstractScreen implements InputProcessor {
|
||||
private final RoboRallyWrapper roboRallyWrapper;
|
||||
private final OrthographicCamera camera;
|
||||
@ -35,7 +38,7 @@ public class BoardActiveScreen extends AbstractScreen implements InputProcessor
|
||||
private final int viewPortHeight = 12 * tileDimensions;
|
||||
private final Viewport viewport;
|
||||
|
||||
public BoardActiveScreen(final RoboRallyWrapper roboRallyWrapper) {
|
||||
BoardActiveScreen(final RoboRallyWrapper roboRallyWrapper) {
|
||||
this.roboRallyWrapper = roboRallyWrapper;
|
||||
|
||||
camera = new OrthographicCamera();
|
||||
@ -78,13 +81,13 @@ public class BoardActiveScreen extends AbstractScreen implements InputProcessor
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean keyDown(int keycode) {
|
||||
public boolean keyDown(int keyCode) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean keyUp(int keycode) {
|
||||
if (keycode == Input.Keys.HOME) {
|
||||
public boolean keyUp(int keyCode) {
|
||||
if (keyCode == Input.Keys.HOME) {
|
||||
IDrawableGame temp = roboRallyWrapper.roboRallyGame;
|
||||
roboRallyWrapper.roboRallyGame = debugGame;
|
||||
this.debugGame = temp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user