Пример #1
0
 static void Main()
 {
     bb          = new SlideSprite(Properties.Resources.bb);
     bb.TargetX  = 100;
     bb.TargetY  = 100;
     bb.Velocity = 5;
     Application.Run(new Program());
 }
Пример #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());
 }