jStage.Animation

Description

An animation is a wrapper around a list of jStage.Sprite objects that keeps track of the currently active sprite, and is capable of animating through complicated sprite sequences.

Hierarchy

Function List

Function Documentation

Animation(spriteSheetList)constructor

Parameters

spriteSheetList:An array containing one or more jStage.Sprite objects. The initial sprite used for animating will be the first one in the array.