Hey All,
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:
Stack Trace:
http://pastebin.com/WGkmTJnm
Turret Dispenser Class:
http://pastebin.com/e7xeNN45
Screen Class:
http://pastebin.com/mfcRaMJC
Room Class:
http://pastebin.com/xK07Yaud
Thanks in advance for any and all help.
See ya on the flipside,
Tempest Desh