add shoot to OnlinePlayer_1_1_0.java

This commit is contained in:
ole 2024-12-03 12:20:40 +01:00
parent 43545afb45
commit 2160b5d410
1 changed files with 5 additions and 0 deletions

View File

@ -83,4 +83,9 @@ public class OnlinePlayer_1_1_0 extends OnlinePlayer {
this.haseReceivedCoin = true;
}
}
@Override
public synchronized void shoot(Point point) {
super.socket.send(new SocketPackage("SHOOT", point.toString()));
}
}