just out of curiousity howcome i get a nullpointerexception…
Animation animation;
animation = new Animation(true);//runR
animation.addFrame(2, 140);
animation.addFrame(4, 140);
System.out.println(animation);
animations.addAnimation(animation);
… at the last line?