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

Method onEnter

tests/cpp-tests/Source/SchedulerTest/SchedulerTest.cpp:72–79  ·  view source on GitHub ↗

------------------------------------------------------------------ SchedulerAutoremove ------------------------------------------------------------------

Source from the content-addressed store, hash-verified

70//
71//------------------------------------------------------------------
72void SchedulerAutoremove::onEnter()
73{
74 SchedulerTestLayer::onEnter();
75
76 schedule(AX_SCHEDULE_SELECTOR(SchedulerAutoremove::autoremove), 0.5f);
77 schedule(AX_SCHEDULE_SELECTOR(SchedulerAutoremove::tick), 0.5f);
78 accum = 0;
79}
80
81void SchedulerAutoremove::autoremove(float dt)
82{

Callers

nothing calls this directly

Calls 15

createFunction · 0.85
scheduleUpdateFunction · 0.85
getInstanceFunction · 0.85
topFunction · 0.85
Color3BFunction · 0.85
isRunningFunction · 0.85
setTagMethod · 0.80
getTextureCacheMethod · 0.80
scheduleUpdateMethod · 0.80
scheduleOnceMethod · 0.80
Vec2Function · 0.50

Tested by

no test coverage detected