Esempio n. 1
0
 public gameScene() : base()
 {
     Image level = new Image("Assets/Project Background.png");
     AddGraphic(level);
    
     a = new Anakin(50, 420);
     o = new Obi(700, 420);
     a.obi = o;
     o.anakin = a;
     Add(a);
     Add(o);
     mainTheme.Play();
     AddGraphic(aH, 10, 10);
     AddGraphic(oH, 505, 10);
 }
Esempio n. 2
0
        public gameScene() : base()
        {
            Image level = new Image("Assets/Project Background.png");

            AddGraphic(level);

            a        = new Anakin(50, 420);
            o        = new Obi(700, 420);
            a.obi    = o;
            o.anakin = a;
            Add(a);
            Add(o);
            mainTheme.Play();
            AddGraphic(aH, 10, 10);
            AddGraphic(oH, 505, 10);
        }