Timer changed from control to model

This commit is contained in:
Remco
2015-05-22 12:15:16 +02:00
parent 09caaad7e1
commit 0af599077e
10 changed files with 236 additions and 16 deletions
+17
View File
@@ -0,0 +1,17 @@
package model.objects;
import java.awt.Graphics2D;
public class InfoPanel {
private int x, y;
public InfoPanel(int x, int y){
this.x = x;
this.y = y;
}
public void draw(Graphics2D g2){
g2.drawRect(x, y, 256, 1024);
}
}