24.07.2017, 13:08
Thanks for the informative replies.
I've had the main idea as creating a class with setters and getters but I wanted to do the pawn-way of the enum thing as I won't be needing to create too many functions but I guess no way around it.
They do start from the absolute zero over here as well, I just wanted to be better prepared.
I've had the main idea as creating a class with setters and getters but I wanted to do the pawn-way of the enum thing as I won't be needing to create too many functions but I guess no way around it.
Quote:
I don't know where you live but most colleges start from absolute zero regarding things like this. In Java (or any other OO language for that matter) you would create a class for this with getters and setters. In the actual main code you instantiate a new object of that class whenever you need it.
|