Timer changed from control to model
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user