public class PRobPlayer
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private Coordinate |
location |
private static long |
serialVersionUID |
private int |
victimIndex |
Constructor and Description |
---|
PRobPlayer() |
PRobPlayer(int victimIndex,
Coordinate location) |
Modifier and Type | Method and Description |
---|---|
Coordinate |
getLocation() |
int |
getVictimIndex() |
void |
setLocation(Coordinate location) |
void |
setVictimIndex(int victimIndex) |
private static final long serialVersionUID
private int victimIndex
private Coordinate location
public PRobPlayer()
public PRobPlayer(int victimIndex, Coordinate location)
victimIndex
- location
- public int getVictimIndex()
public void setVictimIndex(int victimIndex)
victimIndex
- the victimIndex to setpublic Coordinate getLocation()
public void setLocation(Coordinate location)
location
- the location to set