Skip to content

Add animation property and methods to Critter class

Spencer Williams requested to merge critter-animation-methods into master

Critter class has animations property for all animations for sprite

  • setCaptiveAnimations method will load all the captive animations
  • This will help organize a sprite's animations so that the scene can call a method to load all of the relevant animations instead of listing all animations for all sprites in the scene.

Merge request reports