Looks like I didn't know enough about interfaces here.
1) Correct
2) Correct
3) Define the functionality that the inheriting classes should implement
4) The same as interfaces in other...
Type: Posts; User: UltimateGames
Looks like I didn't know enough about interfaces here.
1) Correct
2) Correct
3) Define the functionality that the inheriting classes should implement
4) The same as interfaces in other...
In a game project there is a CS file with character interface and derived classes, all about different characters and their properties. I assume there should be other classes for other game stuff....
I like your answer. So I initially fill the array with all pre-created objects. Then one of the characters is defeated. He should visually disappear from the scene, reset his properties to default...
Here https://cboard.cprogramming.com/csharp-programming/173808-how-access-object-memory-when-select-one-dropdown-list.html
Though it's a little different topic
It's windows forms. I create a few objects of the same class. Let's say I need to test the interaction between two game characters, I have two comboboxes (dropdown lists) where I want existing...
I'll think, maybe in another thread.
Ok, thanks. May I ask a few questions about classes? I'm making a game project and kind of confused about access modifiers for classes.
Just tell me the general idea, I need to clarify and understand it without extra details.
In a class you usually create variables and functions. And tutorials say you should make your class...