diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-02-15 14:54:15 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-02-15 14:54:15 -0500 |
commit | 1fb7799ff91729285bf145b2c78f9233a61ac35c (patch) | |
tree | e6779a3409f76975b067dd11ce24cfa556583705 /src/com/fourisland/fourpuzzle/util | |
parent | d242cfcf9a62bed5158c33c061e47fa393e2301a (diff) | |
download | fourpuzzle-1fb7799ff91729285bf145b2c78f9233a61ac35c.tar.gz fourpuzzle-1fb7799ff91729285bf145b2c78f9233a61ac35c.tar.bz2 fourpuzzle-1fb7799ff91729285bf145b2c78f9233a61ac35c.zip |
Engine: Fixed MessageWindow bug
Previously, MessageWindow would, on occasion, throw out an ArrayIndexOutOfBoundsException. This may have been because of some keyboard input. Because of this, the keyboard input system has been re-written to be anologous to the Display system (Renderable). Now, only one input processor will run at a time because they are executed in order by KeyboardInput, rather than all at once using AWT event handlers.
Diffstat (limited to 'src/com/fourisland/fourpuzzle/util')
-rw-r--r-- | src/com/fourisland/fourpuzzle/util/Inputable.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/com/fourisland/fourpuzzle/util/Inputable.java b/src/com/fourisland/fourpuzzle/util/Inputable.java new file mode 100644 index 0000000..9b108b9 --- /dev/null +++ b/src/com/fourisland/fourpuzzle/util/Inputable.java | |||
@@ -0,0 +1,17 @@ | |||
1 | /* | ||
2 | * To change this template, choose Tools | Templates | ||
3 | * and open the template in the editor. | ||
4 | */ | ||
5 | |||
6 | package com.fourisland.fourpuzzle.util; | ||
7 | |||
8 | import com.fourisland.fourpuzzle.KeyInput; | ||
9 | |||
10 | /** | ||
11 | * | ||
12 | * @author hatkirby | ||
13 | */ | ||
14 | public interface Inputable { | ||
15 | |||
16 | public void processInput(KeyInput key); | ||
17 | } | ||