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.
35 lines
532 B
35 lines
532 B
package visualiser.gameController.Keys;
|
|
|
|
import javafx.scene.input.KeyCode;
|
|
import network.Messages.Enums.BoatActionEnum;
|
|
|
|
/**
|
|
* Key to trigger auto VMG
|
|
*/
|
|
public class VMGKey extends ControlKey{
|
|
|
|
/**
|
|
* Constructor for Control
|
|
*
|
|
* @param name name of the key
|
|
*/
|
|
public VMGKey(String name) {
|
|
super(name, BoatActionEnum.AUTO_PILOT);
|
|
}
|
|
|
|
@Override
|
|
public void onAction() {
|
|
|
|
}
|
|
|
|
@Override
|
|
public void onHold() {
|
|
|
|
}
|
|
|
|
@Override
|
|
public void onRelease() {
|
|
|
|
}
|
|
}
|