public void act()
{
tme++;// counts how many acts
note0 = new Note();
note1 = new Note();
note2 = new Note();
note3 = new Note();
note4 = new Note();
if(tme % 100 == 0)
{
addObject(note0, 480, 348);
note0.setImage("note"+0+".png");
addObject(note1, 559, 348);
note1.setImage("note"+1+".png");
addObject(note2, 600, 348);
note2.setImage("note"+2+".png");
addObject(note3, 650, 348);
note3.setImage("note"+3+".png");
addObject(note4, 711, 305);
note4.setImage("note"+4+".png");
note1.setRotation(90 + degree);
note1.move(1);
note1.setRotation(0);
}
note0.setRotation(90);
note0.move(15);
note0.setRotation(0);
note1.setRotation(90);
note1.move(15);
note1.setRotation(0);
note2.setRotation(90);
note2.move(15);
note2.setRotation(0);
note3.setRotation(90);
note3.move(15);
note3.setRotation(0);
note4.setRotation(90);
note4.move(15);
note4.setRotation(0);
}

