Esempio n. 1
0
 static void Main()
 {
     bb          = new SlideSprite(Properties.Resources.bb);
     bb.TargetX  = 100;
     bb.TargetY  = 100;
     bb.Velocity = 5;
     Application.Run(new Program());
 }
Esempio n. 2
0
 static void Main()
 {
     elephant          = new SlideSprite(Properties.Resources.elephant);
     elephant.TargetX  = 100;
     elephant.TargetY  = 100;
     elephant.Velocity = 5;
     parent            = new Sprite();
     parent.add(elephant);
     Application.Run(new Program());
 }