public void explosion(GifImage g)
 {
     MainGrid.Children.Add(g);
 }
Exemple #2
0
        public GifImage newgif()
        {
            var g = new GifImage(TypetextureList["Explosion"].UriSource, Mw);

            g.HorizontalAlignment = HorizontalAlignment.Left;
            g.VerticalAlignment = VerticalAlignment.Top;
            g.Width = 40;
            g.Height = 40;
            return g;
        }
 public void DeleteExplosion(GifImage gf)
 {
     MainGrid.Children.Remove(gf);
 }