public override List <Shot> Fire(Vector2 location) { List <Shot> newTirs = new List <Shot>(); for (int i = 1; i <= 16; i++) { CrazyDocShot shot = new CrazyDocShot(location, this, i * (Math.PI / 8), this.Flip); newTirs.Add(shot); } return(newTirs); }
public override List <Shot> Fire(Vector2 location) { List <Shot> newTirs = new List <Shot>(); CrazyDocShot shot = new CrazyDocShot(location, this, angle, this.Flip); newTirs.Add(shot); angle += 0.50f; return(newTirs); }
public override List <Shot> Fire(Vector2 location) { List <Shot> newTirs = new List <Shot>(); cooldown = RandomMachine.GetRandomFloat(250f, 1200f); CrazyDocShot shot = new CrazyDocShot(location, this, RandomMachine.GetRandomFloat(0, Math.PI * 2), this.Flip); newTirs.Add(shot); return(newTirs); }
public override List<Shot> Fire(Vector2 location) { List<Shot> newTirs = new List<Shot>(); CrazyDocShot shot = new CrazyDocShot(location, this, angle, this.Flip); newTirs.Add(shot); angle += 0.50f; return newTirs; }
public override List<Shot> Fire(Vector2 location) { List<Shot> newTirs = new List<Shot>(); cooldown = RandomMachine.GetRandomFloat(250f, 1200f); CrazyDocShot shot = new CrazyDocShot(location, this, RandomMachine.GetRandomFloat(0, Math.PI * 2), this.Flip); newTirs.Add(shot); return newTirs; }
public override List<Shot> Fire(Vector2 location) { List<Shot> newTirs = new List<Shot>(); for (int i = 1; i <= 16; i++) { CrazyDocShot shot = new CrazyDocShot(location, this, i * (Math.PI / 8), this.Flip); newTirs.Add(shot); } return newTirs; }