Commit 78f3db92 authored by Toussaint Etienne's avatar Toussaint Etienne

Fix typo input

parent 0884f194
......@@ -38,7 +38,7 @@ public class GamePanelTermTest {
} catch (InterruptedException e) {
//e.printStackTrace();
}
assertEquals(x,DummyLocalGameLoop.getInstance().getFollowedRelayer().getCharacter().getX()+DummyLocalGameLoop.getInstance().getFollowedRelayer().getCharacter().getSpeed());
assertEquals(x,DummyLocalGameLoop.getInstance().getFollowedRelayer().getCharacter().getX()-DummyLocalGameLoop.getInstance().getFollowedRelayer().getCharacter().getSpeed());
assertEquals(x,DummyLocalGameLoop.getInstance().getFollowedRelayer().getCharacter().getY()+DummyLocalGameLoop.getInstance().getFollowedRelayer().getCharacter().getSpeed());
}
}
......@@ -75,8 +75,8 @@ public class InputConfiguration {
//Terminal inputs
up_terminal=br.readLine().charAt(0);
down_terminal=br.readLine().charAt(0);
left_terminal=br.readLine().charAt(0);
right_terminal=br.readLine().charAt(0);
left_terminal=br.readLine().charAt(0);
attack_terminal=br.readLine().charAt(0);
ability1_terminal=br.readLine().charAt(0);
ability2_terminal=br.readLine().charAt(0);
......
......@@ -101,6 +101,8 @@ public class GamePanelTerminal extends PanelTerminal implements GamePanelAbstrac
core.gamestate.Character hero = followedRelayer.getCharacter();
int x_hero_core = hero.getX();
int y_hero_core = hero.getY();
//System.out.println(x_hero_core);
//System.out.println(y_hero_core);
int y_max_true_screen = this.getHeight();
int y_max_screen = y_max_true_screen - y_max_true_screen/4;
......
......@@ -26,7 +26,7 @@ public class MainMenuPanelTerminal extends MenuPanelTerminal implements MainMenu
buttonDefList.add(new buttonPanelButtonDefinition("exit",() -> controller.exitButtonPressed()));
setButtonPanel(buttonDefList);
setBottomPanel("V1.0 - ENS team");
setBottomPanel("By default : ZQSD to move, O to validate, V to back during the Game");
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment