public synchronized void moveRight(boolean pressed) {
        rightPressed = pressed;
        if (pressed) {
            if (timeToNextRightMove <= 0) {
                tetromino.tryMove(this, Direction.RIGHT);
                if (timeToNextRightMove < 0) timeToNextRightMove = AUTO_REPEAT_INIT_TICKS;
                else timeToNextRightMove = AUTO_REPEAT_TICKS;
            }
            else timeToNextRightMove--;
        }
        else
            timeToNextRightMove = -1;
    }