ok
This commit is contained in:
@@ -14,7 +14,11 @@ import java.io.Serializable;
|
||||
import javax.swing.ImageIcon;
|
||||
|
||||
|
||||
public class DrawObject implements Serializable{
|
||||
public abstract class DrawObject implements Serializable{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
Point2D position;
|
||||
double rotation;
|
||||
double scale;
|
||||
@@ -41,6 +45,8 @@ public class DrawObject implements Serializable{
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public abstract String getName();
|
||||
|
||||
public void draw(Graphics2D g)
|
||||
{
|
||||
AffineTransform tx = getTransform();
|
||||
|
||||
Reference in New Issue
Block a user