public Rockman(int left, int top) { List <Texture2D> textures = Global.LoadTextures("Rockman", 11); sprite = new My2DSprite(textures, left, top, 0, 0); sprite.Delay = 100; }
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); }