Пример #1
0
        public virtual LLESprite clone()
        {
            LLESprite theSprite = new LLESprite(mX, mY, mXVel, mYVel, mSpeed);

            theSprite.setTexture(mTexture);

            theSprite.setTextureName(mTextureName);

            theSprite.setWidth(mW);

            theSprite.setHeight(mH);

            theSprite.setRotation(mRotation);

            theSprite.setRotationSpeed(mRotationSpeed);

            theSprite.setTextureColor(mTextureColor);

            theSprite.setVisible(mVisible);

            return theSprite;
        }