Exemplo n.º 1
0
 public Player(Spacecraft spaceCraft,short life,KeyBatch keyBatch)
 {
     this.spaceCraft = spaceCraft;
     this.life = life;
     this.keyBatch = keyBatch;
     score = 0;
     currentWeapon = 1;//Weapon no 1
     weapon2Ammo = 0;
 }
Exemplo n.º 2
0
 public Player(Vector2 SpaceCraftPosition, KeyBatch keyBatch)
     : this(new Spacecraft(SpaceCraftPosition),3,keyBatch)
 {
 }