It is for school, I took a quiz and was unable to compile the main. I tried several times to write a NPC class that would instance or define the varibles to no avail. Now I am trying to understand...
Type: Posts; User: johngot
It is for school, I took a quiz and was unable to compile the main. I tried several times to write a NPC class that would instance or define the varibles to no avail. Now I am trying to understand...
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...