Ejemplo n.º 1
0
 public BombCollisionScript(Bullet bomb)
 {
     this.bomb = bomb;
 }
 /// <summary>
 /// Creates the simple bullet movement script to be used on a 
 /// single Bullet.
 /// </summary>
 /// <param name="bullet">Bullet to move</param>
 public BulletStraightMovementScript(Bullet bullet)
 {
     this.bullet = bullet;
 }
 /// <summary>
 /// Creates the simple bullet movement script to be used on a 
 /// single Bullet.
 /// </summary>
 /// <param name="bullet">Bullet to move</param>
 /// <param name="headTo">Location to head towards</param>
 public BulletLocationMovementScript(Bullet bullet, Turret t)
 {
     this.bullet = bullet;
     this.turret = t;
 }
 /// <summary>
 /// Creates the bullet movement Script to apply to the given Bullet.
 /// </summary>
 /// <param name="bullet">Bullet to apply the Script to</param>
 public BulletTurretCollisionScript(Bullet bullet)
 {
     this.bullet = bullet;
 }