public void moveAnt() {
		this.setAge(this.getAge() + 1);
		if (movement > 50) {
			movement = 0;
			advancingOnX = getRandomBoolean();
			advancingOnY = getRandomBoolean();
			randomNumX = rand.nextInt(3);
			randomNumY = rand.nextInt(3);
		}

		if (advancingOnX) {
			if (!this.collisionX_MAX(terrainWidth, this.getX())) {
				this.advanceX(randomNumX);
			} else {
				advancingOnX = false;
			}
		} else {
			if (!this.collisionX_MIN(0, this.getX())) {
				this.advanceX(-randomNumX);
			} else {
				advancingOnX = true;
			}
		}
		if (advancingOnY) {
			if (!this.collisionY_MAX(terrainHeight, this.getY())) {
				this.advanceY(randomNumY);
			} else {
				advancingOnY = false;
			}
		} else {
			if (!this.collisionY_MIN(0, this.getY())) {
				this.advanceY(-randomNumY);
			} else {
				advancingOnY = true;
			}
		}
		movement++;
	}