MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / init

Method init

Source/EndPortalObject.cpp:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38bool EndPortalObject::init()
39{
40 if(!GameObject::init("block001_01_001.png"))
41 return false;
42
43 auto winSize = Director::getInstance()->getWinSize();
44 _gradientBar = Sprite::createWithSpriteFrameName("gradientBar.png");
45 return true;
46}

Callers 1

createMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected