public void actionPerformed(ActionEvent e)
    {
        int point = moveController.move();
        mapCanvas.setLocations(moveController.getPlayersLocation());
        if (point > 0) {
            scoreboard.pointEat();
            
            if (point == 1) {
                TrackType eat = (TURN_DURATION > 19) ? TrackType.EATING : TrackType.EATINGSHORT;
                player.playTrack(eat);
            } else {
                player.playTrack(TrackType.EATPILL);
            }
                
            mapCanvas.setScore(scoreboard.getScore());
            Point position = moveController.pacManPosition();
            mapCanvas.cleanCell(position.y, position.x);
            if (scoreboard.getPoints() == 0) {
                pacManWin();
                return;
            }
        }
        
        int resultColision = moveController.checkCollisions();
        if (resultColision == 0) {
            pacManIsDead();
        } else if (resultColision == 1) {
            player.playTrack(TrackType.EATGHOST);
        }
    }