Exemple #1
0
    public void Start()
    {
      State = Microsoft.Xna.Framework.Input.Keyboard.GetState();
      Ship = new Ship();
      RandomGenerator = new System.Random();
      Input = new KeyboardManager.KeyboardInput();
      Asteroids = (

  Enumerable.Empty<Asteroid>()).ToList<Asteroid>();

    }
Exemple #2
0
 public Projectile(Microsoft.Xna.Framework.Vector2 p, Ship owner)
 {
   JustEntered = false;
   frame = World.frame;
   Position = p;
   Owner = owner;
   ID = GetHashCode();
 }