Skip to content

Conversation

@Ta0o
Copy link
Collaborator

@Ta0o Ta0o commented Mar 22, 2018

There some ideas about classes,but i guest that's not all.

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
Copy link
Collaborator Author

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.

Copy link
Owner

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.

Copy link
Collaborator Author

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
Copy link
Collaborator Author

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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely agree

@kosstbarz
Copy link
Owner

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.

@Ta0o
Copy link
Collaborator Author

Ta0o commented Mar 31, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants