clean up 'n bugcrushing
This commit is contained in:
@@ -5,10 +5,13 @@ import java.awt.geom.AffineTransform;
|
||||
|
||||
public abstract class DrawObject {
|
||||
|
||||
|
||||
protected AffineTransform transform;
|
||||
protected double width,height;
|
||||
|
||||
protected double width,
|
||||
height;
|
||||
|
||||
protected int index = 0;
|
||||
|
||||
public DrawObject() {
|
||||
transform = new AffineTransform();
|
||||
}
|
||||
@@ -20,8 +23,7 @@ public abstract class DrawObject {
|
||||
public void setIndex(int index){
|
||||
this.index = index;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public abstract void draw(Graphics2D g2);
|
||||
public abstract void update(float factor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user