-
Notifications
You must be signed in to change notification settings - Fork 0
Possible Classes #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Classes
Outdated
| @@ -1,6 +1,6 @@ | |||
| 1)Class-Player // main player(-s) class | |||
| 2)Class-Bot // bot class | |||
| 3)Class-Unit // in-game units class | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be logical to name class Units because, there are not 1 unit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's discuss it. One object of this class will be one unit or group of units? If class describes a single unit, then it should be Unit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can be some general class for game play, like unit selection.it can be 1 or a lot.
Classes
Outdated
| 3)Class-Units // in-game units class | ||
| 4)Class-Buildings // in-game buildings class | ||
| 5)Class-Resources // in-game resources class | ||
| 6)Class-Events // Randomly generated in-game events class No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don`t change anything here,just misclick
| @@ -0,0 +1,6 @@ | |||
| 1)Class-Player // main player(-s) class | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely agree
|
What about some general class, which controls all the game? Something like class Game? There will be only one Game at a time and this object will manage all Players, Bots etc. |
|
I think you right, but i have idea to make a class for all types ingame objects.so we can add just class game. Just some number of methods to create mechanics. |
There some ideas about classes,but i guest that's not all.