• 未命名 1


    页面跳转的方法二:

    box=CCNode::create();

    addChild(box,0);

    LayerManager::switchLayer(0);


      //方法二

    box->removeAllChildren();

    switch (tag) {

    case 0:

    {

    UpgradeLayer *upgradeLayer=UpgradeLayer::create();

    upgradeLayer->setTag(1);

    box->addChild(upgradeLayer,0);

    //

    upgradeLayer->setCountry("wuGuo.png");

    upgradeLayer->setStar(3);

    upgradeLayer->blinkStar(1);

    }

    break;

    case 1:

    {

    ResolveLayer* resolveLayer=ResolveLayer::create();

    resolveLayer->setTag(1);

    box->addChild(resolveLayer,0);

    }

    break;

    case 2:

    {

    EvolutionLayer* evolutionLayer=EvolutionLayer::create();

    evolutionLayer->setTag(1);

    box->addChild(evolutionLayer,0);

    }

    break;

    }



    vector<HeroVO> vec1=heroProxy->getFieldHero();

    vector<HeroVO> vec2=heroProxy->getUnFieldHero();

    vector<HeroVO> héros;

      heros.insert(heros.end(),vec1.begin(), vec1.end());

    heros.insert(heros.end(),vec2.begin(), vec2.end());



    //y=(A-C)*B^x+C

    //A b c

    // 120 1.4 82

    // 180 1.4 100

    // 200 1.4 95

    // 220 1.4 90


  • 相关阅读:
    开放式最短路径优先OSPF
    第一课:docker基本知识
    docker 基础
    mycat
    nginx
    keepalived
    mariadb 读写分离
    ansible
    转载 树莓派vnc 教程
    基础命令2
  • 原文地址:https://www.cnblogs.com/yssgyw/p/3292472.html
Copyright © 2020-2023  润新知