attackables method
Used to get all "Attackables".
Implementation
@override
Iterable<Attackable> attackables() {
return children.where((element) => (element is Attackable)).cast();
}
Used to get all "Attackables".
@override
Iterable<Attackable> attackables() {
return children.where((element) => (element is Attackable)).cast();
}