MCPcopy Create free account
hub / github.com/axmolengine/axmol / init

Method init

tests/cpp-tests/Source/ClippingNodeTest/ClippingNodeTest.cpp:76–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74//@implementation BaseClippingNodeTest
75
76bool BaseClippingNodeTest::init()
77{
78 if (TestCase::init())
79 {
80
81 auto background = Sprite::create(s_back3);
82 background->setAnchorPoint(Vec2::ZERO);
83 background->setPosition(Vec2::ZERO);
84 this->addChild(background, -1);
85
86 this->setup();
87 return true;
88 }
89 return false;
90}
91
92BaseClippingNodeTest::~BaseClippingNodeTest()
93{

Callers 1

initCommandsMethod · 0.45

Calls 6

setupMethod · 0.95
createFunction · 0.85
initFunction · 0.50
setAnchorPointMethod · 0.45
setPositionMethod · 0.45
addChildMethod · 0.45

Tested by

no test coverage detected