x4132_Harpony/Tutorial.pde
class Tutorial implements View {
    Button back = new Button(loadImage("ui/opt/back.png"), 0.45 * 0.323, 0.45 * 0.114, 0.5, 0.7, "menu");
    PImage backdrop = loadImage("ui/menu/bkg.png");
    PImage normal = loadImage("ui/game/note.png");
    PImage hold = loadImage("ui/game/hold.png");
    
    void nextFrame() {
        imageMode(CORNER);
        image(backdrop,0,0,width,height);
        textSize(50);
        textFont(eina_MB);
        fill(#ea9f75);
        text("How to play: ", width * 0.1, 60);
        textSize(30);
        text("- Tap on beat when a normal note reaches", 60, 100);
        text("the blue line", 60, 130);
        text("- Use either D, F, J, or K to hit the notes", 60, 160);
        text("- Hold notes require you to hold down the key", 60, 190);
        text(" and are different from the normal notes", 60, 220);
        text("- Hold them for the entire duration, and make sure", 60, 250);
        text("to lift up when the note ends", 60, 280);
        // image(normal, width / 4, height * 3 / 4);
        // image(hold, width * 3 / 4, height * 3 / 4);
        back.draw();
    }
    
    void initialize(String s) {
        back.show();
    }
    void destructor() {
        back.hide();
    }
    
}