/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author nbriere */ public class cTexture implements java.io.Serializable { static final long serialVersionUID = 8278178842384985286L; public cTexture(String n) { name = n; } public String toString() { return name; } public int hashCode() { return name.hashCode(); } public boolean equals(Object o) { /* if (!(o instanceof cTexture)) return false; return ((cTexture)o).name.equals(name); */ return toString().equals(o.toString()); } String name; byte[] pigmentstream; byte[] bumpstream; }