//----------init------------ public CCScheduler() { _timeScale = 1.0f; // used to trigger CCTimer#update updateSelector = "update"; // impMethod = (TICK_IMP) [CCTimerTargetSelector instanceMethodForSelector:updateSelector]; // updates with priority updates0 = new utList <tListEntry>(); updatesNeg = new utList <tListEntry>(); updatesPos = new utList <tListEntry>(); hashForUpdates = new utHash <int, tHashUpdateEntry>(); // selectors with interval currentTarget = null; currentTargetSalvaged = false; hashForTimers = new utHash <int, tHashTimerEntry>(); updateHashLocked = false; _paused = false; }
CCMaterialCache() { _materials = new utHash <Texture2D, Material> (); }
CCSpriteFrameCache() { _spriteFrames = new utHash <string, CCSpriteFrame> (); _spriteFramesAliases = new utHash <string, string> (); _loadedFilenames = new HashSet <string> (); }
public CCActionManager() { _targets = new utHash <int, tHashElement>(); }