You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
441 B
25 lines
441 B
package seng302.gameController.Keys;
|
|
|
|
import javafx.scene.input.KeyCode;
|
|
|
|
/**
|
|
* Key to toggle the sails
|
|
*/
|
|
public class SailsToggleKey extends ControlKey {
|
|
|
|
/**
|
|
* Constructor for Control
|
|
*
|
|
* @param name name of the key
|
|
* @param keyCode key code for the key
|
|
*/
|
|
public SailsToggleKey(String name, KeyCode keyCode) {
|
|
super(name, keyCode);
|
|
}
|
|
|
|
@Override
|
|
public void onAction() {
|
|
|
|
}
|
|
}
|