// Create an entity, add the animation component and define
// a couple of animations with an FPS of 25
var entity = new IgeEntity()
.addComponent(IgeAnimationComponent)
.animation.define('anim1', [1, 2, 3, 4], 25, -1);
.animation.define('anim2', [5, 6, 7, 8], 25, -1);
// Change the FPS of all animations to 12
entity.animation.setAllFps(12);