Example #1
0
 public Missile(Texture2D missileTexture, Asteroid mark)
 {
     laserImage = missileTexture;
     target     = mark;
     velocity   = Vector3.Normalize(mark.position) * Asteroids.BLAST_SPEED / 2; //send it at the target
 }