This my first post here and I'd appreciate some help figuring out a bug I'm dealing with. I'm trying to create a 'tower defense' style game in Java and I'm getting an 'Array Out of Bounds' exception whenever I attempt to launch the program. From what I've researched of this particular exception, it seems that I'm trying access a specific array with an index that is either too low in value (less than 0) or too high in value (greater than the max of the array). I'm not sure exactly how exactly to resolve this error, but here's my stack trace and the code for the classes referenced in said stack trace:
Welcome to the Ranch.
The stack trace tells you exactly which line of code generated the exception.
Copy past the full stack trace and the relevant class here to help people help you. Also please UseCodeTags