示例#1
0
    public static bool ZombieSetEnermyNum(List <string> paramList)
    {
        if (paramList == null || paramList.Count != 1)
        {
            return(false);
        }

        return(ZombiesStageModule.SetTotalEnermyNum(System.Convert.ToUInt32(paramList[0])));
    }
示例#2
0
    public static bool ZombieTenSecond(List <string> paramList)
    {
        if (paramList == null || paramList.Count != 2)
        {
            return(false);
        }

        return(ZombiesStageModule.ZombieTenSecond(System.Convert.ToInt32(paramList[0]), System.Convert.ToInt32(paramList[1])));
    }
示例#3
0
    protected override void OnSceneInited()
    {
        base.OnSceneInited();

        mBattleUIModule.ShowTimer(true);

        ZombiesStageModule zsm = ModuleManager.Instance.FindModule <ZombiesStageModule>();

        if (zsm != null)
        {
            zsm.SetBeginGoldNum();
        }
    }
示例#4
0
    public override void OnKillEnemy(ObjectBase sprite, uint killId)
    {
        base.OnKillEnemy(sprite, killId);

        ZombiesStageModule zsm = ModuleManager.Instance.FindModule <ZombiesStageModule>();

        if (zsm == null)
        {
            return;
        }

        if (zsm.KillEnermy())
        {
            SetResult(1);
            pass();
        }
    }
示例#5
0
 public static bool ZombieCrazy(List <string> paramList)
 {
     return(ZombiesStageModule.ZombieCrazy());
 }