Class Names
#136
Replies: 1 comment 2 replies
-
I've kinda only realized a bit late on how useful and versatile using classes for a lot within COGITO is, but it's slowly getting there. I'd avoid just turning everything into a class, rather figure out a solid base class and then just customize one-offs in scripts. Other than that, I'm definitely open for introducing more classes. I suggest to keep Cogito-prefix to avoid naming clashes and clarify what it's used by. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm curious how people feel about putting class names on basically everything? It's not something necessarily done by default, but I'm finding I want to override a lot of classes. This means I need a class name.
Right now in my Coop MP project (which I'm still progressing on) so far I'm overriding player and pause_menu_controller, but there are probably other things that other users would want to override and we can't anticipate them all.
Should everything have a class name? Is there a down side to class names?
It is a minor first world inconvenience when every time that I merge the main branch I need to re add all my class names.
Beta Was this translation helpful? Give feedback.
All reactions