- Added onHold - Added onRelease - Added ManualTesting Class in the tests - Added Unimplemented new methods to classes #story[1006]
35 lines
550 B
Java
35 lines
550 B
Java
package seng302.gameController.Keys;
|
|
|
|
import javafx.scene.input.KeyCode;
|
|
|
|
/**
|
|
* Key to send downwind packet to server
|
|
*/
|
|
public class DownWindKey extends ControlKey {
|
|
|
|
/**
|
|
* Constructor for Control
|
|
*
|
|
* @param name name of the key
|
|
* @param keyCode key code for the key
|
|
*/
|
|
public DownWindKey(String name, KeyCode keyCode) {
|
|
super(name, keyCode);
|
|
}
|
|
|
|
@Override
|
|
public void onAction() {
|
|
|
|
}
|
|
|
|
@Override
|
|
public void onHold() {
|
|
|
|
}
|
|
|
|
@Override
|
|
public void onRelease() {
|
|
|
|
}
|
|
}
|