Пример #1
0
        public void DrawSprite(SpriteAni ani, Vector2 pos)
        {
            SpriteAniController con = new SpriteAniController(ani.GetElement(null));

            con.bplay = true;

            anis.Add(pos, con);
            //anis.Add(ani);
        }
Пример #2
0
 void UpdateAniInfo()
 {
     listBox3.Items.Clear();
     if (lastani == null)
     {
         return;
     }
     listBox3.Items.Add(new KeyValuePair <string, AniElement>("<all>", lastani.GetElement(null)));
     foreach (var e in lastani.elements)
     {
         listBox3.Items.Add(e);
     }
 }
Пример #3
0
        public void DrawSprite(SpriteAni ani,Vector2 pos)
        {
            SpriteAniController con = new SpriteAniController(ani.GetElement(null));
            con.bplay = true;

            anis.Add(pos, con);
            //anis.Add(ani);
        }