@Override
	public void calcMove(int delta) {
		double currentTime = System.currentTimeMillis();
		this.delta = delta;
		if (currentMove == MoveDir.MOVE_NULL) {
			if (currentTime - lastMoveChange >= waitTime) {
				lastMoveChange = currentTime;
				randomMove();
			}
		} else {
			edgeCheck();
			if (currentTime - lastMoveChange >= moveTime) {
				lastMoveChange = currentTime;
				setWait();
			}
		}
	}