blob: 2c64c18a399ca5e7f9839ef9be4bee14a3cd5a26 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
module Omni {
export class Puzzle {
private elements:Block[] = [];
//contains elements,
/**
* takes elements, and their correct state.
*/
constructor() {
}
/**
* Whether this puzzle is currently in the correct state
*/
isCorrect():boolean {
//true if states of all elements match the correct state-> correct state can be more.
return false;
}
}
}
|