Example #1
0
Loader* Loader::create()
{
  Loader* screen = new Loader();
  screen->autorelease();
  screen->retain();

  return screen;
}
Example #2
0
Loader* Loader::create()
{
    Loader* screen = new Loader();
    screen->autorelease();
    
    #if CC_PRELOAD_LEVEL > CC_PRELOAD_NOTHING
	screen->retain();
    #endif
    
    return screen;
}