Amended collision effect radius

#story[1195]
This commit is contained in:
cbt24
2017-09-14 16:24:14 +12:00
parent 7d58b05e38
commit 02b4146fa3
2 changed files with 3 additions and 3 deletions
@@ -9,8 +9,8 @@ import javafx.scene.transform.Rotate;
* Created by cbt24 on 14/09/17.
*/
public class Shockwave extends Subject3D {
public Shockwave() {
super(new Cylinder(5,0),0);
public Shockwave(double radius) {
super(new Cylinder(radius,0),0);
getMesh().getTransforms().add(new Rotate(-90, Rotate.X_AXIS));
getMesh().setMaterial(new PhongMaterial(new Color(0,0,0,0)));
}