-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEndCreditScene.pde
43 lines (30 loc) · 930 Bytes
/
EndCreditScene.pde
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import processing.sound.*;
class EndCreditScene extends SceneWithTransition implements IHasHiddenLayer
{
// =============== End Scene Image ================
PImage endCreditHiddenImage;
EndCreditScene() {
super( "End Scene.png" );
background = loadImage( filename );
endCreditHiddenImage = loadImage("End Scene hidden.png");
endCreditHiddenImage.resize(round(endCreditHiddenImage.width * widthRatio), round(endCreditHiddenImage.height * heightRatio));
}
public void doStepWhileInState(float delta)
{
super.doStepWhileInState(delta);
super.TransitionDisplay(delta);
}
void handleMousePressed() {
}
void changeState(State state) {
stateHandler.changeStateTo( state );
}
PImage getHiddenImage() {
return endCreditHiddenImage;
}
HiddenCollider[] getHiddenColliders() {
return new HiddenCollider[0];
}
void hiddenColliderHit(HiddenCollider hc) {
}
}