@Override
    public void actionPerformed(ActionEvent ae)
    {
        for (Updatable u : updatables)
        {
            if (u == null)
                continue;
            //When game is paused only update PlayerInput
            if (gameIsPaused && u.getClass() != PlayerInput.class)
                continue;
            
            u.update();
        }
    }