endRound finished
This commit is contained in:
parent
a8e7a84b7a
commit
0f430e5980
@ -138,6 +138,7 @@ public class match {
|
|||||||
System.out.println("P1 won the round");
|
System.out.println("P1 won the round");
|
||||||
roundWon = new UIElementText("Player1 won the round", 5f, 0.25f, 0.5f, 100f, engine);
|
roundWon = new UIElementText("Player1 won the round", 5f, 0.25f, 0.5f, 100f, engine);
|
||||||
roundWon.setBackground(new Vector3f(0f,0f,0f));
|
roundWon.setBackground(new Vector3f(0f,0f,0f));
|
||||||
|
roundWon.setShader("shaders/StylishShaders/WavyTextVert.glsl", "shaders/StylishShaders/TextFrag.glsl", true, true);
|
||||||
engine.add_uiElement(roundWon);
|
engine.add_uiElement(roundWon);
|
||||||
engine.update();
|
engine.update();
|
||||||
engine.render();
|
engine.render();
|
||||||
@ -155,6 +156,7 @@ public class match {
|
|||||||
System.out.println("P2 won the round");
|
System.out.println("P2 won the round");
|
||||||
roundWon = new UIElementText("Player2 won the round", 5f, 0.25f, 0.5f, 100f, engine);
|
roundWon = new UIElementText("Player2 won the round", 5f, 0.25f, 0.5f, 100f, engine);
|
||||||
roundWon.setBackground(new Vector3f(0f,0f,0f));
|
roundWon.setBackground(new Vector3f(0f,0f,0f));
|
||||||
|
roundWon.setShader("shaders/StylishShaders/WavyTextVert.glsl", "shaders/StylishShaders/TextFrag.glsl", true, true);
|
||||||
engine.add_uiElement(roundWon);
|
engine.add_uiElement(roundWon);
|
||||||
engine.update();
|
engine.update();
|
||||||
engine.render();
|
engine.render();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user