Wait Stage Action
This class will execute the logic in StageAction after all enemy objects in the ObjectPool disappear, and equals to a class which extends StageAction and overrides the canAction method in next way:
override fun canAction(): Boolean {
if (ObjectPool.objects().hasNext())
return false
return super.canAction()
}
Content copied to clipboard
Author
KKoishi_