Ejemplo n.º 1
0
    //-------------------------------------------------------------------------
    public void fishDestroy(uint et_player_rpcid, int fish_vib_id, int total_score)
    {
        List <StillParticle> particle_list = _loopBuildParticle(TbDataFish.ParticleProduceTimeEnum.FishDestroy, et_player_rpcid);

        foreach (var it in particle_list)
        {
            it.setLayer(mScene.getLayerAlloter().getLayer(_eLevelLayer.Particle));
        }

        TbDataFish fish_data = EbDataMgr.Instance.getData <TbDataFish>(fish_vib_id);

        if (fish_data.FishDisplayScoreType == TbDataFish._eDisplayScoreType.Turnplate ||
            fish_data.FishDisplayScoreType == TbDataFish._eDisplayScoreType.ChipsAndTurnplate)
        {
            mScene.addParticleTurnplateCaller(new ParticleTurnplateCaller(mScene, et_player_rpcid, fish_vib_id, total_score, particle_list));
        }
    }