I converted a game that I wrote in Python to java (since Im currently learning it in my college class) and I cant figure out how to compare a string to a string in an array without doing a lot of coding. All I basically want is if the player finds a weapon it gets added to their weapon array, then when you call the inventory function it will list the players weapons.
My pleasure Brandon. Good luck and don't hesitate to ask questions!
Joined: Sep 28, 2010
Wouter Oet wrote:
Kevin Workman wrote:Stupid question
There are no stupid questions only stupid answers. Remember that we'll had to learn Java at one point.
I was saying my question was stupid, not the OP's. It's easy to miss the "obvious" stuff when you've been staring at the same code for days, so sometimes all it takes is somebody else asking a stupid question to help you along.