public override void WeaponLaunch(int weapon, PlayerTank playerTank, Gameplay currentGame) { Debug.WriteLine("Chassis WeaponLaunch Start"); //Alex Holm N9918205 float x = (playerTank.XPos()); float y = (playerTank.GetY()); x += (Chassis.WIDTH) / 2; y += (Chassis.HEIGHT) / 2; Opponent player = playerTank.GetPlayer(); Shrapnel shrap = new Shrapnel(100, 4, 4); Shell Std_shell = new Shell(x, y, playerTank.GetAngle(), playerTank.GetPower(), 0.01f, shrap, player); currentGame.AddEffect(Std_shell); Debug.WriteLine("Chassis WeaponLaunch Complete"); }