getAnimation method
Implementation
ActorAnimation? getAnimation(String name) {
for (final ActorAnimation a in _animations) {
if (a.name == name) {
return a;
}
}
return null;
}
ActorAnimation? getAnimation(String name) {
for (final ActorAnimation a in _animations) {
if (a.name == name) {
return a;
}
}
return null;
}