示例#1
0
        public SpriteUntrimmedSizeInPixels()
        {
            // MySprite3
            sprite3 = new MySprite3("Images/grossini");
            AddChild(sprite3);

            // Register Touch Event
            var touchListener = new CCEventListenerTouchAllAtOnce();

            touchListener.OnTouchesMoved = OnTouchesMoved;

            AddEventListener(touchListener);
        }
        public SpriteUntrimmedSizeInPixels()
        {
            // MySprite3
            sprite3 = new MySprite3("Images/grossini");
            AddChild(sprite3);

            // Register Touch Event
            var touchListener = new CCEventListenerTouchAllAtOnce();
            touchListener.OnTouchesMoved = OnTouchesMoved;

            AddEventListener(touchListener);
        }