Version 1 des Gameloop und Logic
noch nicht voll fiunktionsfähig 4.12.24 16:19
This commit is contained in:
parent
95fb97f847
commit
505b58e8e8
@ -17,4 +17,5 @@ public class GameLogic {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -84,5 +84,6 @@ public class GameLoop {
|
||||
private void draw(){
|
||||
graphics.drawTrail(player1.getTrail(), 0);
|
||||
graphics.drawTrail(player2.getTrail(), 1);
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -19,6 +19,7 @@ public class GraphicsProgram extends PApplet {
|
||||
imgRed = loadImage("TrailRed");
|
||||
}
|
||||
|
||||
|
||||
public void drawTrail(Queue<int[]> trail, int playerID){
|
||||
|
||||
int particleSize = 5;
|
||||
|
Loading…
x
Reference in New Issue
Block a user