Ejemplo n.º 1
0
 /** create the ship of this level
  * can be overridden to make other ship types or add behaviours
  */
 public virtual void CreateShip()
 {
     ship  = new Ship();
     KeyboardShipControl shipControl = new KeyboardShipControl();
     ship.Add(shipControl);
     ship.player = RunningGameState.player;
 }
Ejemplo n.º 2
0
 /** create the ship of this level - default ship here */
 public virtual Ship CreateShip()
 {
     Ship s = new Ship();
     KeyboardShipControl shipControl = new KeyboardShipControl();
     s.Add(shipControl);
     return s;
 }