aboutsummaryrefslogtreecommitdiff
path: root/src/esieequest/model/events/Scene.java
blob: 91ae7c26b6da20a2c2c2c147506031456dbf3083 (plain)
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
44
45
46
47
48
49
package esieequest.model.events;

import lombok.Getter;
import lombok.Setter;
import esieequest.controller.Callback;

/**
 * Represents an animated Scene that can be played.
 * 
 * @author Pacien TRAN-GIRARD
 */
public enum Scene {

	// @formatter:off
	
	INTRO("THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY!", "...", 90000),
	TRANSPONDER_ACTIVATED("Stalemate Resolved.", "...", 2500),
	END("Good work getting this far, future-starter!", "...", 2500),
	
	;
	
	// @formatter:on

	@Getter
	private final String title;

	@Getter
	private final String text;

	@Getter
	private final int duration;

	@Getter
	@Setter
	private Callback callback;

	Scene(final String title, final String text, final int duration) {
		this.title = title;
		this.text = text;
		this.duration = duration;
		this.callback = new Callback() {
			@Override
			public void call() {
				return;
			}
		};
	}

}