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.
22 lines
448 B
22 lines
448 B
package network.Messages;
|
|
|
|
import network.Messages.Enums.BoatActionEnum;
|
|
import network.Messages.Enums.MessageType;
|
|
|
|
/**
|
|
* Created by David on 10/07/2017.
|
|
*/
|
|
public class BoatAction extends AC35Data {
|
|
|
|
private byte boatAction;
|
|
|
|
public BoatAction(BoatActionEnum boatAction){
|
|
super(MessageType.BOATACTION);
|
|
this.boatAction = boatAction.getValue();
|
|
}
|
|
|
|
public byte getBoatAction() {
|
|
return boatAction;
|
|
}
|
|
|
|
} |