Datasets:

ArXiv:
License:
File size: 383 Bytes
c574d3a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//Csaba
package battleship.Logic;

import battleship.DataPackage.PlaceShipsData;

/**
 *
 * @author Csaba
 */
public class Player {

    int identifier;
    boolean ready = false;
    Board board;

    public Player() {
        board = new Board();
    }

    public int getIdentifier() {
        return identifier;
    }

    public Board getBoard() {
        return board;
    }
}