public class PSoldierCard
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 |
---|
PSoldierCard() |
PSoldierCard(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 PSoldierCard()
public PSoldierCard(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