Datasets:

ArXiv:
License:
File size: 393 Bytes
c574d3a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package battleship.Events;

import battleship.DataPackage.GameEndedStatus;
import battleship.Logic.CellStatus;

public interface ClientEvent {

    void onMessageReceived(int senderID, String message);

    void onYourTurn();

    void onGameEnded(GameEndedStatus status);

    void onEnemyHitMe(int i, int j);

    void onMyHit(int i, int j, CellStatus status);

    void onJoinedEnemy();

}