I want to store an array of objects that i created in an inherited classes but a bit confused

后端 未结 0 702
野的像风
野的像风 2021-01-26 02:40

i have a base hero class that i used to extend and make a archer and swordsman class. I want to create an array that stores these 2 objects and allows a user to select the hero

相关标签:
回答
  • 消灭零回复
提交回复
热议问题