protected void moveToPosition(Environment e, Point position) {
		if (e.canMove(position)) {
			//return if agent doesn't have energy to move
			if (pinkEnergy < MOVE_COST || greenEnergy < MOVE_COST) return;
			System.out.println(this + " moves to " + position.x + ", " + position.y);
			
			this.position = position;
			pinkEnergy -= MOVE_COST;
			greenEnergy -= MOVE_COST;
			testPulse();
		}
	}