Sorry if I am making no sense, I dont have much practise
Hello, I have set up Items to hold a set of chars which are meant to be placed on a text based map, however when i am asking for the char, there is an error stating that it must be a string type. Is there any way to convert my Items to strings, or allow the input of an Item? Thanks in advance
The error is where the user is trying to enter a symbol.
Lots of little things, I am afraid.
I had to break your line 119 because it was too long. Also your indentation and spaing are inconsistent which makes you r code hard to read: look at lines 100-107. Don't use \n unless you have been asked for the LF character. Even less
instead. String.valueOf() will definitely work; it calls toString unless you manage to pass null in which case you get the String "null". You can probably get your Item objects via a valueOf method as well, assuming Item is an enumerated type.