How do I randomly pick elements from an Array that satisfy a condition?

后端 未结 0 1647
遥遥无期
遥遥无期 2020-12-06 01:51

I have a player and group class which I\'ve used to instantiate the following:

Player andrew = new Player(*name:* Andrew, *health:* 20)
Player samantha = new          


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