void pridejOcas(int x, int y) { if (tail == null) { tail = new ocas(this.mapa, this, x, y); } else { tail.pridejOcas(); } }
public void pridejOcas() { if (tail == null) { tail = new ocas(this.mapa, this, zX, zY); } else { tail.pridejOcas(); } }