Page 183 - MDP2022-3
P. 183
close();
return "Perfect";
}
else if(y >= 565) {
System.out.println("Great");
close();
return "Great";
}
else if(y >= 550) {
System.out.println("Good");
close();
return "Good";
}
else if(y >= 535) {
System.out.println("Early");
close();
return "Early";
}
return "None";
}
public int getY() {
return y;
}
}
# Track 클래스
package dynamic_beat_16;
public class Track {
private String titleImage;
private String startImage;
private String gameImage;
private String startMusic;
private String gameMusic;
private String titleName;
private String levelImage;
public String getLevelImage() {
return levelImage;
}
public void setLevelImage(String levelImage) {
this.levelImage = levelImage;
}
public String getTitleImage() {
return titleImage;
}
public void setTitleImage(String titleImage) {
this.titleImage = titleImage;
}
public String getStartImage() {
return startImage;
}
public void setStartImage(String startImage) {
this.startImage = startImage;
}