diff options
Diffstat (limited to 'src/com/fourisland/fourpuzzle/gamestate/mapview/event/precondition/Precondition.java')
-rw-r--r-- | src/com/fourisland/fourpuzzle/gamestate/mapview/event/precondition/Precondition.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/precondition/Precondition.java b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/precondition/Precondition.java index b275100..46cdcd2 100644 --- a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/precondition/Precondition.java +++ b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/precondition/Precondition.java | |||
@@ -6,6 +6,12 @@ | |||
6 | package com.fourisland.fourpuzzle.gamestate.mapview.event.precondition; | 6 | package com.fourisland.fourpuzzle.gamestate.mapview.event.precondition; |
7 | 7 | ||
8 | /** | 8 | /** |
9 | * A Precondition is an object that helps <b>LayerEvent</b> to determine which | ||
10 | * of its (possibly many) <b>PossibleEvent</b>s is active. PossibleEvents can | ||
11 | * have Preconditions attached to them and when all Preconditions are fulfilled | ||
12 | * (determined by the <code>true</code> return value from <b>match()</b>) and | ||
13 | * there are not fulfilled PossibleEvents later in the queue, said PossibleEvent | ||
14 | * will be active. | ||
9 | * | 15 | * |
10 | * @author hatkirby | 16 | * @author hatkirby |
11 | */ | 17 | */ |