public void Init(Sprite _sprite, string initani, Texture.TextureMgr _tmgr) { tmgr = _tmgr; sprite = _sprite; var drawani = SpriteAniMgr.CreateAni(sprite, initani, tmgr); controller = new SpriteAniController(drawani.GetElement(null)); }
public void DrawSprite(SpriteAni ani, Vector2 pos) { SpriteAniController con = new SpriteAniController(ani.GetElement(null)); con.bplay = true; anis.Add(pos, con); //anis.Add(ani); }
public void DrawSprite(SpriteAni ani,Vector2 pos) { SpriteAniController con = new SpriteAniController(ani.GetElement(null)); con.bplay = true; anis.Add(pos, con); //anis.Add(ani); }
public BGLayerSingleAni(SpriteAniController ani) { block=new BGBlock(ani); scrollspeed = 1.0f; }
public BGBlock(SpriteAniController _ani) { ani = _ani; }
public BGLayerSingleAni(SpriteAniController ani) { block = new BGBlock(ani); scrollspeed = 1.0f; }