0
I want to make a monster for a game
how would i go about doing it, if i want the monster to have 50health and 10 attack. would i make a struct or a class. someone plz provide me with some helpful code
4 ответов
+ 1
struct monster {
short health, attack;
monster() : health{50}, attack{10} { }
};
0
https://code.sololearn.com/cNe858XAf1u8/?ref=app Just Simple example for it. I wish it will be helpful
0
not what i wanted
0
what i wanted