texture=new ArrayList<Texture>();
texture=new ArrayList<Texture>(1);
    private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {        in.defaultReadObject();        int ii=in.readShort();        texture=new ArrayList<Texture>();        for (int i=0;i<ii;i++){            if ( in.readBoolean() ) {                texture.add(TextureManager.loadTexture( new URL( in.readUTF() ), in.readInt(), in.readInt() ));            }        }        resetFirstLast();    }