public void Update()
    {
        // call the update events from the game elements
        if(this.SceneManager.getCurrentScene() != null)
        {
            // Update the Scene Elements
            Scene SelectedScene = this.SceneManager.getCurrentScene();
            SelectedScene.updateScene();

            // Update the UIManager
            if(this.UIManager != null)
            {
                this.UIManager.updateContents();
            }
        }

    }