Esempio n. 1
0
 public CannonBall()
 {
     this.position = this.DefaultInitPos;
     this.image = new Image("cannonball");
     this.Fire = new Image("firstFire");
     frameSize = new Point(42, 42);
     this.CannonEffect = new SoundPlayer("Content/cannonSound.wav");
     this.ImpacEffect = new SoundPlayer("Content/impactSound.wav");
 }
Esempio n. 2
0
 public void Initialise()
 {
     this.image = new Image("dibossBIG");
     this.image.Initialise();
     this.position = new Vector2(550, 300); // TODO: consts ?
 }