Esempio n. 1
0
        public CCBReader(CCNodeLoaderLibrary nodeLoaderLibrary, CCBMemberVariableAssigner memberVariableAssigner,
                         CCBSelectorResolver selectorResolver, CCNodeLoaderListener nodeLoaderListener)
        {
            mCurrentByte = -1;
            mCurrentBit = -1;

            mLoadedSpriteSheets = new List<string>();

            mCCNodeLoaderLibrary = nodeLoaderLibrary;
            mCCBMemberVariableAssigner = memberVariableAssigner;
            mCCBSelectorResolver = selectorResolver;
            mCCNodeLoaderListener = nodeLoaderListener;
        }
Esempio n. 2
0
        public CCBReader(CCBReader reader)
        {
            mCurrentByte = -1;
            mCurrentBit = -1;

            mLoadedSpriteSheets = reader.mLoadedSpriteSheets;
            mCCNodeLoaderLibrary = reader.mCCNodeLoaderLibrary;

            mCCBMemberVariableAssigner = reader.mCCBMemberVariableAssigner;
            mCCBSelectorResolver = reader.mCCBSelectorResolver;
            mCCNodeLoaderListener = reader.mCCNodeLoaderListener;
        }
Esempio n. 3
0
 public CCBReader(CCNodeLoaderLibrary nodeLoaderLibrary, CCBMemberVariableAssigner memberVariableAssigner,
                  CCBSelectorResolver selectorResolver)
     : this(nodeLoaderLibrary, memberVariableAssigner, selectorResolver, null)
 {
 }
Esempio n. 4
0
 public CCBReader(CCNodeLoaderLibrary nodeLoaderLibrary, CCBMemberVariableAssigner memberVariableAssigner)
     : this(nodeLoaderLibrary, memberVariableAssigner, null, null)
 {
 }
Esempio n. 5
0
 public CCBReader(CCNodeLoaderLibrary nodeLoaderLibrary)
     : this(nodeLoaderLibrary, null, null, null)
 {
 }
 public static void PurgeSharedCCNodeLoaderLibrary()
 {
     sSharedCCNodeLoaderLibrary = null;
 }
 public static CCNodeLoaderLibrary NewDefaultCCNodeLoaderLibrary()
 {
     var ccNodeLoaderLibrary = new CCNodeLoaderLibrary();
     ccNodeLoaderLibrary.RegisterDefaultCCNodeLoaders();
     return ccNodeLoaderLibrary;
 }