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.
32 lines
475 B
32 lines
475 B
package visualiser.gameController.Keys;
|
|
|
|
import network.Messages.Enums.BoatActionEnum;
|
|
|
|
/**
|
|
* key to toggle between tacking and gybing
|
|
*/
|
|
public class TackGybeKey extends ControlKey {
|
|
|
|
/**
|
|
* Constructor for Control
|
|
*/
|
|
public TackGybeKey() {
|
|
super("Tack/Gybe", BoatActionEnum.TACK_GYBE);
|
|
}
|
|
|
|
@Override
|
|
public void onAction() {
|
|
|
|
}
|
|
|
|
@Override
|
|
public void onHold() {
|
|
|
|
}
|
|
|
|
@Override
|
|
public void onRelease() {
|
|
|
|
}
|
|
}
|