does the following code require a class;
// Create a Non-Playable-Character(s) / NPC in World
NPC npc1 = new NPC("Wolf", 25, 8, 4);
I am assuming
Wolf is a string=name
25 is an int=hp
8 is an int=atk
4 is an int=def
I am having problems with constructors and how to write this. I blieve NPC needs a class with the variables. I am a beginner so my terminaolgy may be incorrect.
Thanks for any assistance
John