Esempio n. 1
0
    void Update()
    {
        try
        {
            UpdateLabels();
        }

        catch (Exception ex)
        {
            StaticTrace.ExceptionLog(ex.Message, ex.StackTrace);
        }
    }
Esempio n. 2
0
    void OnGUI()
    {
        try
        {
            DrawLabels();
        }

        catch (Exception ex)
        {
            StaticTrace.ExceptionLog(ex.Message, ex.StackTrace);
        }
    }
Esempio n. 3
0
    public static void UpdatePlayerAttributesInModel(FighterAttributes attributes)
    {
        try
        {
            UpdateFighterAttributes(attributes);
        }

        catch (Exception ex)
        {
            StaticTrace.ExceptionLog(ex.Message, ex.StackTrace);
        }
    }
Esempio n. 4
0
    public static void UpdateModel(MainAggregate updatedAggregate)
    {
        try
        {
            FindAndUpdateModel(updatedAggregate);
        }

        catch (Exception ex)
        {
            StaticTrace.ExceptionLog(ex.Message, ex.StackTrace);
        }
    }
Esempio n. 5
0
    void Start()
    {
        try
        {
            GetMainController();
        }

        catch (Exception ex)
        {
            StaticTrace.ExceptionLog(ex.Message, ex.StackTrace);
        }
    }
Esempio n. 6
0
    public static InputSettings GetInputSettingsFromModel()
    {
        try
        {
            return(GetInputSettings());
        }

        catch (Exception ex)
        {
            StaticTrace.ExceptionLog(ex.Message, ex.StackTrace);
            return(null);
        }
    }
Esempio n. 7
0
    public static List <AbstractItemAI> GetItemListFromModel()
    {
        try
        {
            return(GetItemList());
        }

        catch (Exception ex)
        {
            StaticTrace.ExceptionLog(ex.Message, ex.StackTrace);
            return(null);
        }
    }
Esempio n. 8
0
    public static FighterAttributes GetPlayerAttributesFromModel()
    {
        try
        {
            return(GetFighterAttributes());
        }

        catch (Exception ex)
        {
            StaticTrace.ExceptionLog(ex.Message, ex.StackTrace);
            return(null);
        }
    }
Esempio n. 9
0
    public static MainAggregate ReturnModel()
    {
        try
        {
            return(FindAndReturnModel());
        }

        catch (Exception ex)
        {
            StaticTrace.ExceptionLog(ex.Message, ex.StackTrace);
            return(null);
        }
    }