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