Exemplo n.º 1
0
        //----------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;
        }
Exemplo n.º 2
0
 CCMaterialCache()
 {
     _materials = new utHash <Texture2D, Material> ();
 }
Exemplo n.º 3
0
 CCSpriteFrameCache()
 {
     _spriteFrames        = new utHash <string, CCSpriteFrame> ();
     _spriteFramesAliases = new utHash <string, string> ();
     _loadedFilenames     = new HashSet <string> ();
 }
 public CCActionManager()
 {
     _targets = new utHash <int, tHashElement>();
 }