Am I correct | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Am I correct

Subject: C# - Classes and Objects In a video game: - Class would be Enemy - Objects would be different kinds of enemies: Skeleton, Ghost, Wolf, Zombie... - Each object in this class has it's own HP, Mana, Strength, Agility... - Class would be Weapon - Objects would be Pistol, Knife, Machine Gun, Broom... - Each object in this class has it's own Damage, Durability, Price...

4th Feb 2019, 9:07 AM
Raptor Bot
Raptor Bot - avatar
3 Answers
+ 1
Yes, you are correct
4th Feb 2019, 9:10 AM
Jakub Stasiak
Jakub Stasiak - avatar
+ 1
Yes
4th Feb 2019, 9:34 AM
Puneet
+ 1
yes
4th Feb 2019, 11:10 AM
Onteri
Onteri - avatar