public class UnitInstanceWrapper extends Object
Modifier and Type | Field and Description |
---|---|
protected Set<UnitInstance> |
unitInstances |
Constructor and Description |
---|
UnitInstanceWrapper() |
UnitInstanceWrapper(Set<UnitInstance> instances) |
Modifier and Type | Method and Description |
---|---|
static UnitInstanceWrapper |
fromJson(String json) |
Set<UnitInstance> |
getUnitInstances() |
UnitInstanceWrapper |
hasInstance(UnitInstance instance) |
void |
setUnitInstances(Set<UnitInstance> unitInstances) |
String |
toJson() |
protected Set<UnitInstance> unitInstances
public UnitInstanceWrapper()
public UnitInstanceWrapper(Set<UnitInstance> instances)
public Set<UnitInstance> getUnitInstances()
public void setUnitInstances(Set<UnitInstance> unitInstances)
public UnitInstanceWrapper hasInstance(UnitInstance instance)
public String toJson()
public static UnitInstanceWrapper fromJson(String json)
Copyright © 2016. All Rights Reserved.