Function AnimationPlayer.addAnimation

Adds animation to the player accessible with the key name.

godot.core.defs.GodotError addAnimation (
  const(String) name,
  Animation animation
) nothrow @nogc;