>any suggestions toward making my game better are welcome!
Use an ArrayList of objects for the monsters. It would condense all of that condition checking tremendously.
If you plan on using Java any further, you really need to learn to use classes.
>any suggestions toward making my game better are welcome!
Use an ArrayList of objects for the monsters. It would condense all of that condition checking tremendously.
If you plan on using Java any further, you really need to learn to use classes.
Thanks Ezzaral for the suggestions!
Yes, I realize that I should learn about classes, That would have made my program a lot easier and neater too! The array would have cleaned up the massive amounts of "Int's" too!
Oh well, I can always add then in later!
Thanks for the help and suggestions!
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.