Added super cool properties stuffz
This commit is contained in:
@@ -13,7 +13,7 @@ import java.awt.geom.Rectangle2D;
|
||||
import javax.swing.ImageIcon;
|
||||
|
||||
|
||||
public class DrawObject {
|
||||
public abstract class DrawObject {
|
||||
Point2D position;
|
||||
double rotation;
|
||||
double scale;
|
||||
@@ -40,6 +40,8 @@ public class DrawObject {
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public abstract String getName();
|
||||
|
||||
public void draw(Graphics2D g)
|
||||
{
|
||||
AffineTransform tx = getTransform();
|
||||
|
||||
Reference in New Issue
Block a user