public void DrawSprite(SpriteAni ani, Vector2 pos) { SpriteAniController con = new SpriteAniController(ani.GetElement(null)); con.bplay = true; anis.Add(pos, con); //anis.Add(ani); }
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); } }
public void DrawSprite(SpriteAni ani,Vector2 pos) { SpriteAniController con = new SpriteAniController(ani.GetElement(null)); con.bplay = true; anis.Add(pos, con); //anis.Add(ani); }