Example #1
0
    public static void onPreGameStart()       // called before GameManager does anything... NOTHING IS SET UP YET
    {
        dlgOnGameStart        = null;
        dlgOnPlayerMove       = null;
        dlgOnBoardStabilize   = null;
        dlgOnCombo            = null;
        dlgOnComboEnd         = null;
        dlgOnNoMoreMoves      = null;
        dlgOnBoardReset       = null;
        dlgOnPieceClick       = null;
        dlgOnPanelClick       = null;
        dlgOnScoreIssue       = null;
        dlgOnSwipeAdded       = null;
        dlgOnSwipeRemoved     = null;
        dlgOnSwipeBackTracked = null;
        dlgOnSwipeFailed      = null;
        dlgOnSwipeValidating  = null;
        dlgOnSwipeValidated   = null;

        // -----------------------------------
        // your own stuff here...
        //
        // WARNING : board HAS NOT been set up yet... you can do final board modifications here...
        // stuff like abilities that modify the current GameManager set up before board inits
        // e.g., board size, board width/height etc...
        // -----------------------------------
    }