Thanks Tjstrech, I have used your code to make that work in my own example. One thing I don't get though.
I think of ClassA classA = new ClassA(5); as being a way to create a new instance (an...
Type: Posts; User: darter
Thanks Tjstrech, I have used your code to make that work in my own example. One thing I don't get though.
I think of ClassA classA = new ClassA(5); as being a way to create a new instance (an...
Hello - thanks for reply. This is just a learning exercise so the game is not really important. I just chose Player and Space so they could be used to instantiate objects that have attributes. My...
I am trying to make my first Java program using classes and objects and so I picked a simple game problem to model. (1) Spin wheel (2) Move player 6 spaces (for example) (3) Display all the "spaces"...