@@ -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; |