How to implement a Unity-style GetComponent() function in JavaFX?

后端 未结 0 1149
盖世英雄少女心
盖世英雄少女心 2021-01-28 01:48

I am trying to make a game with an entity-component-system style. The entity class has a list of different components all extending the Component class. How can I make a functio

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