0

The game will be fighting between pairs of characters.
Classes that are required to implement the following: Personagem (abstract class) -> Orc / Humanos (interfaces) -> Arqueiro (Human) / Ogro (Orc).
In short, it has an abstract class Personagens, below it two interface classes (Humano and Orc) and below these classes as the classes Arqueiro, and two others that are Humanos and Ogros and two others that are Orc.
In the statement you have the attributes for each character type and the values for that.
The attributes I must define them in the abstract class Personagem or in each character’s referenced interface? Remembering that each character type has different attributes.
Unstated asks to create two 100 position vectors, one vector for each type (Orc and Humano). Can I create interface vectors? If so, how to access objects?
Right, I understood what you meant. Maybe I got a little confused even. I’ll put pictures of the statement to be clearer. Thank you!
– Alexsander da Silva
Did the answer solve your question? Do you think you can accept it? See [tour] if you don’t know how you do it. This would help a lot to indicate that the solution was useful to you. You can also vote on any question or answer you find useful on the entire site
– Maniero