source: trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/gui/KeyInteraction.java @ 655

Last change on this file since 655 was 655, checked in by pharms, 12 years ago
  • removed old copyright file header
  • Property svn:executable set to *
File size: 652 bytes
Line 
1package de.ugoe.cs.quest.eventcore.gui;
2
3import de.ugoe.cs.tasktree.keyboardmaps.VirtualKey;
4
5/**
6 * TODO comment
7 *
8 * @version $Revision: $ $Date: $
9 * @author 2011, last modified by $Author: $
10 */
11public abstract class KeyInteraction implements IInteraction {
12
13    /**  */
14    private static final long serialVersionUID = 1L;
15
16    /** the key, that was actually pressed */
17    private VirtualKey key;
18
19    /**
20     * @param key
21     */
22    public KeyInteraction(VirtualKey key) {
23        super();
24        this.key = key;
25    }
26
27    /**
28     *
29     */
30    public VirtualKey getKey() {
31        return key;
32    }
33
34}
Note: See TracBrowser for help on using the repository browser.