Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genie_logiciel_2015
the_dungeon_project
Commits
78f3db92
Commit
78f3db92
authored
Jan 06, 2016
by
Toussaint Etienne
Browse files
Fix typo input
parent
0884f194
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/graphics/display_test/GamePanelTermTest.java
View file @
78f3db92
...
...
@@ -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
());
}
}
src/graphics/ingame_input_listener/InputConfiguration.java
View file @
78f3db92
...
...
@@ -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
);
...
...
src/graphics/termSkeleton/panel/GamePanelTerminal.java
View file @
78f3db92
...
...
@@ -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
;
...
...
src/graphics/termSkeleton/panel/menu/MainMenuPanelTerminal.java
View file @
78f3db92
...
...
@@ -26,7 +26,7 @@ public class MainMenuPanelTerminal extends MenuPanelTerminal implements MainMenu
buttonDefList
.
add
(
new
buttonPanelButtonDefinition
(
"exit"
,()
->
controller
.
exitButtonPressed
()));
setButtonPanel
(
buttonDefList
);
setBottomPanel
(
"
V1.0 - ENS te
am"
);
setBottomPanel
(
"
By default : ZQSD to move, O to validate, V to back during the G
am
e
"
);
}
@Override
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment