Exemple #1
0
	private void GrowVineInto (Tile tileToGrow) {
		return;
		LatAddr dest = CanAddr.convertCanAddrToLatAddr (tileToGrow.addr);
		LatAddr src = CanAddr.convertCanAddrToLatAddr (this.addr);

		src.scaleLatAddr (-1);
		dest.addLatAddr (src);

		CanAddr disp = CanAddr.convertLatAddrToCanAddr (dest);

		tileToGrow.setState (null, TileTypeController.TileType.TILE_VINE, (GROWTH_MAX/2f));

		if (this.presentVine != null) {
			this.presentVine.dirs [this.presentVine.curDirs++] = disp.getTuple (0);
			this.presentVine.children [disp.getTuple (0)] = tileToGrow.presentVine;
		}

		tileToGrow.presentVine.dirs [tileToGrow.presentVine.curDirs++] = (int) CanAddr.TUPLE_MASK & ~(disp.getTuple(0));

		this.UpdateTileViz (this.tileCont);
		tileToGrow.UpdateTileViz (tileToGrow.tileCont);
	}