Пример #1
0
        public Rockman(int left, int top)
        {
            List <Texture2D> textures = Global.LoadTextures("Rockman", 11);

            sprite       = new My2DSprite(textures, left, top, 0, 0);
            sprite.Delay = 100;
        }
Пример #2
0
        private void GenerateAngle(string strResourcePrefix, int nTextures, float left, float top)
        {
            List <Texture2D> textures  = LoadTextures(strResourcePrefix, nTextures);
            My2DSprite       newSprite = new My2DSprite(textures, left, top, 0, 0);

            //sprites.Add(newSprite);
            entities.Add(newSprite);
        }