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.
34 lines
494 B
34 lines
494 B
package visualiser.gameController.Keys;
|
|
|
|
import network.Messages.Enums.BoatActionEnum;
|
|
|
|
/**
|
|
* Key to go upwind
|
|
*/
|
|
public class UpWindKey extends ControlKey {
|
|
|
|
/**
|
|
* Constructor for Control
|
|
* @param name name of the key
|
|
*
|
|
*/
|
|
public UpWindKey(String name) {
|
|
super(name, BoatActionEnum.UPWIND);
|
|
}
|
|
|
|
@Override
|
|
public void onAction() {
|
|
|
|
}
|
|
|
|
@Override
|
|
public void onHold() {
|
|
|
|
}
|
|
|
|
@Override
|
|
public void onRelease() {
|
|
|
|
}
|
|
}
|