java.lang.Object
org.incenter.ngbclient.Scope
- public class Scope
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
star
private java.lang.String star
planet
private java.lang.String planet
scopeStr
private java.lang.String scopeStr
ship
private java.lang.Integer ship
level
private java.lang.Integer level
actionPoints
private java.lang.Integer actionPoints
status
private int status
OK
public static final int OK
- See Also:
- Constant Field Values
ERROR
public static final int ERROR
- See Also:
- Constant Field Values
LEVEL_UNIVERSE
public static final int LEVEL_UNIVERSE
- See Also:
- Constant Field Values
LEVEL_STAR
public static final int LEVEL_STAR
- See Also:
- Constant Field Values
LEVEL_PLANET
public static final int LEVEL_PLANET
- See Also:
- Constant Field Values
LEVEL_SHIP
public static final int LEVEL_SHIP
- See Also:
- Constant Field Values
LEVEL_UNSET
public static final int LEVEL_UNSET
- See Also:
- Constant Field Values
Scope
public Scope()
Scope
public Scope(java.lang.String scope)
isScope
public static boolean isScope(java.lang.String scope)
setScope
public void setScope(java.lang.String scope)
getStar
public java.lang.String getStar()
getPlanet
public java.lang.String getPlanet()
getShip
public java.lang.Integer getShip()
getLevel
public java.lang.Integer getLevel()
getAPs
public int getAPs()
parseScope
private boolean parseScope()
getShipNo
private java.lang.Integer getShipNo(java.lang.String tok)