Facade
The Facade object is a simulator for performing animations with siteswaps. It has Animator and BasicCreator as properties and uses them as needed
Constructor
- Facade()
- Creates a new Facade object.
Properties
- Facade.prototype.animator
- An instance of a Animator object that achieves animation. It exists by default, but you can change it to another instance.
- Facade.prototype.creator
- An instance of a BasicCreator object that creates props and arms coordinates based on siteswap. It exists by default, but you can change it to another instance.
Methods
- Facade.prototype.startJuggling()
- Starts a juggling animation for the specified siteswap.
- Facade.prototype.stopJuggling()
- Stops the juggling animation.