Beispiel #1
0
    /// <summary>
    /// 处理-游戏时间
    /// </summary>
    public void HandleForGameTime()
    {
        GameStateEnum gameState = GameHandler.Instance.manager.GetGameState();

        if (gameState != GameStateEnum.Gaming)
        {
            return;
        }
        TimeBean timeData = manager.GetGameTime();

        timeData.AddTimeForYMHMS(0, 0, 0, 0, 1, 0);
    }
Beispiel #2
0
    /// <summary>
    /// 处理-主界面游戏时间
    /// </summary>
    public void HandleForMainTime()
    {
        TimeBean timeData = manager.GetMainTime();

        timeData.AddTimeForYMHMS(0, 0, 0, 0, 1, 0);
    }