Public feed #892515

Someone

public java v1 · immutable
Raw Edit
·published 2008-02-05 14:34 UTC
rendered paste body
	public void copyCells(int x, int y, Colony tempColony) {		int a = 0;		int b = 0;				for (int i = x; i-x < tempColony.getHeight(); i++) {			for (int j = y; j-y < tempColony.getWidth(); j++) {								if (tempColony.getCell(a, b)) {					setCell(i, j, tempColony.getCell(a, b));				}				b++;			}			a++;			b = 0;		}	}