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>(); }
public Projectile(Microsoft.Xna.Framework.Vector2 p, Ship owner) { JustEntered = false; frame = World.frame; Position = p; Owner = owner; ID = GetHashCode(); }