
#######
Manager
#######

.. js:class:: wv.Animation.Manager

   Top-level interface for the animation system.
   
   
   Index
   =====
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~wv.Animation.Manager.clear`
   * :js:meth:`~wv.Animation.Manager.createPlayer`
   * :js:meth:`~wv.Animation.Manager.removePlayer`
   * :js:meth:`~wv.Animation.Manager.removePlayerByIndex`
   * :js:meth:`~wv.Animation.Manager.setTickInterval`
   
   



.. rst-class:: kind-group kind-methods

.. rubric:: Methods
   :class: kind-group-title


.. js:method:: wv.Animation.Manager.clear

      .. rst-class:: sig-pretty-signature
      
         | clear(): *void*
      
      Removes all players from control of the manager.
      
      **Returns**\ : *void*
      



.. js:method:: wv.Animation.Manager.createPlayer

      .. rst-class:: sig-pretty-signature
      
         | createPlayer(**animation**\ : :js:class:`Animation <wv.Animation.Animation>`\ ): :js:class:`Player <wv.Animation.Player>`
      
      Creates a new animation player for the supplied animation.
      
      **Parameters**
      
      
         **animation**\ : :js:class:`Animation <wv.Animation.Animation>`
      
      
      **Returns**\ : :js:class:`Player <wv.Animation.Player>`
      



.. js:method:: wv.Animation.Manager.removePlayer

      .. rst-class:: sig-pretty-signature
      
         | removePlayer(**player**\ : :js:class:`Player <wv.Animation.Player>`\ ): *boolean*
      
      Removes the provided player from control of the manager. Returns ``true`` is a player was removed
      
      **Parameters**
      
      
         **player**\ : :js:class:`Player <wv.Animation.Player>`
      
      
      **Returns**\ : *boolean*
      



.. js:method:: wv.Animation.Manager.removePlayerByIndex

      .. rst-class:: sig-pretty-signature
      
         | removePlayerByIndex(**index**\ : *number*\ ): *boolean*
      
      Removes the player at the provided index from control of the manager. Returns ``true`` if a player was removed
      
      **Parameters**
      
      
         **index**\ : *number*
      
      
      **Returns**\ : *boolean*
      



.. js:method:: wv.Animation.Manager.setTickInterval

      .. rst-class:: sig-pretty-signature
      
         | setTickInterval(**milliseconds**\ : *number*\ ): *void*
      
      Sets the interval at which animations are updated.
      
      **Parameters**
      
      
         **milliseconds**\ : *number*
      
      
            number of milliseconds between update intervals
      
      
      
      **Returns**\ : *void*
      




