Browse Source

Version 1 des Gameloop und Logic

noch nicht voll fiunktionsfähig
4.12.24 16:19
master
Paul-1108 2 weeks ago
parent
commit
505b58e8e8
3 changed files with 3 additions and 0 deletions
  1. 1
    0
      src/main/java/GameLogic.java
  2. 1
    0
      src/main/java/GameLoop.java
  3. 1
    0
      src/main/java/GraphicsProgram.java

+ 1
- 0
src/main/java/GameLogic.java View File

@@ -17,4 +17,5 @@ public class GameLogic {
return false;
}


}

+ 1
- 0
src/main/java/GameLoop.java View File

@@ -84,5 +84,6 @@ public class GameLoop {
private void draw(){
graphics.drawTrail(player1.getTrail(), 0);
graphics.drawTrail(player2.getTrail(), 1);

}
}

+ 1
- 0
src/main/java/GraphicsProgram.java View File

@@ -19,6 +19,7 @@ public class GraphicsProgram extends PApplet {
imgRed = loadImage("TrailRed");
}


public void drawTrail(Queue<int[]> trail, int playerID){

int particleSize = 5;

Loading…
Cancel
Save