getAnimation method

ActorAnimation? getAnimation(
  1. String name
)

Implementation

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