RuneHive-Game
Loading...
Searching...
No Matches
PuzzleData.java
Go to the documentation of this file.
1package com.runehive.content.puzzle;
2
3public enum PuzzleData {
4 ARROWS(6713, new int[] { 6716, 6717, 6718 }, new int[] { 6713, 6714, 6715 }),
5 SQUARES(6719, new int[] { 6722, 6723, 6724 }, new int[] { 6719, 6720, 6721 }),
6 SQUARES_OFFSET(6725, new int[] { 6728, 6729, 6730 }, new int[] { 6725, 6726, 6727 }),
7 SHAPES(6731, new int[] { 6734, 6735, 6736 }, new int[] { 6731, 6732, 6733 });
8
9 private final int answer;
10 private final int[] sequence;
11 private final int[] options;
12
13 PuzzleData(int answer, int[] sequence, int[] options) {
14 this.answer = answer;
15 this.sequence = sequence;
16 this.options = options;
17 }
18
19 public static final PuzzleData[] PUZZLES = PuzzleData.values();
20
21 public int getAnswer() {
22 return answer;
23 }
24
25 public int getSequenceModel(int index) {
26 return sequence[index];
27 }
28
29 public int[] getSequence() {
30 return sequence;
31 }
32
33 public int[] getOptions() {
34 return options;
35 }
36}
PuzzleData(int answer, int[] sequence, int[] options)
static final PuzzleData[] PUZZLES