| 71 | } |
| 72 | |
| 73 | bool EffekseerTest::init() |
| 74 | { |
| 75 | if (!TestCase::init()) |
| 76 | return false; |
| 77 | |
| 78 | |
| 79 | auto rsize = _director->getRenderView()->getDesignResolutionSize(); |
| 80 | |
| 81 | //auto sprite = Sprite::create("HelloWorld.png"); |
| 82 | //sprite->setPosition(Vec2(320, 200)); |
| 83 | //this->addChild(sprite, 0); |
| 84 | |
| 85 | // for update |
| 86 | this->scheduleUpdate(); |
| 87 | |
| 88 | /** |
| 89 | efk::EffectManagerのインスタンスを生成します。 |
| 90 | |
| 91 | You create an instance of efk::EffectManager. |
| 92 | |
| 93 | 您創建一個efk::EffectManager的實例。 |
| 94 | |
| 95 | 您创建一个efk::EffectManager的实例。 |
| 96 | */ |
| 97 | manager = efk::EffectManager::create(rsize); |
| 98 | |
| 99 | return true; |
| 100 | } |
| 101 | |
| 102 | void EffekseerTest::update(float delta) |
| 103 | { |
nothing calls this directly
no test coverage detected