Closed atgao closed 8 years ago
the canonball won't bounce off the canon when it gets near it. a boolean function is being used to see whether or not they touch
the issue was that there wasn't a location declared in the constructor for the canon. it was originally loc = new Pvector (); so the dist() wasn't working
the canonball won't bounce off the canon when it gets near it. a boolean function is being used to see whether or not they touch