WarpPI/src/main/java/org/warp/picalculator/event/KeyPressedEvent.java

17 lines
226 B
Java
Raw Normal View History

package org.warp.picalculator.event;
public class KeyPressedEvent implements KeyEvent {
private Key k;
2018-08-28 02:39:41 +02:00
public KeyPressedEvent(Key k) {
this.k = k;
}
2018-08-28 02:39:41 +02:00
@Override
public Key getKey() {
return k;
}
}