mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 06:18:44 +00:00
5ce34bed92
#pair[kre39,zyt10] #story[988]
19 lines
398 B
Java
19 lines
398 B
Java
package seng302.models.stream.packets;
|
|
|
|
/**
|
|
* Created by kre39 on 12/07/17.
|
|
*/
|
|
public class BoatActionPacket {
|
|
|
|
BoatActionType actionType;
|
|
|
|
public BoatActionPacket(BoatActionType actionType) {
|
|
this.actionType = actionType;
|
|
}
|
|
|
|
// Sends the packet to the server
|
|
public void sendPacket(){
|
|
System.out.println(BoatActionType.getBoatPacketType(actionType));
|
|
}
|
|
}
|