/** * Created on 28.03.2005 * * @author Jens Guenther */ package de.unirostock.Prototype.example; import javax.swing.ImageIcon; public class Schnigge extends Ship { private static ImageIcon ICON = new ImageIcon(Ship.class.getClassLoader().getResource("images/Schnigge_photo.gif")); public Object clone(){ Schnigge clone = new Schnigge(); clone.setMaterial( this.getMaterial()); clone.setName( this.getName()); return clone; } public ImageIcon getIcon(){ return ICON; } }