SpriteAnimations

SpriteAnimations

Look at the Animation reference pages before reading these docs. This SpriteAnimations class serves the same role that Group does for Sprites. This class is used internally to create `sprite.anis` and `group.anis`. It's not intended to be used directly by p5play users. In instance objects of this class, the keys are animation names, values are SpriteAnimation objects. Because users only expect instances of this class to contain animation names as keys, it uses an internal private object `#_` to store animation properties. Getters and setters are used to access the private properties, enabling dynamic inheritance.