// Create an entity, add the animation component and define
// an animation with an FPS of 25
var entity = new IgeEntity()
.addComponent(IgeAnimationComponent)
.animation.define('anim1', [1, 2, 3, 4], 25, -1);
// Change the FPS to 12
entity.animation.setFps('anim1', 12);