com.empireclassic.Remote
Class MyShip
java.lang.Object
com.empireclassic.Remote.Ship
com.empireclassic.Remote.MyShip
- All Implemented Interfaces:
- java.lang.Comparable
public class MyShip
- extends Ship
- Author:
- chas
|
Field Summary |
boolean |
isNew
|
|
Constructor Summary |
MyShip(java.lang.String serverResponse)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isNew
public boolean isNew
MyShip
public MyShip(java.lang.String serverResponse)
getHeading
public double getHeading()
- Specified by:
getHeading in class Ship
getOwner
public int getOwner()
- Specified by:
getOwner in class Ship
getArtillery
public int getArtillery()
getBombers
public int getBombers()
getCivilians
public int getCivilians()
isCourseSet
public boolean isCourseSet()
getDest
public WorldCoord getDest()
getEff
public int getEff()
getShells
public int getShells()
getFighters
public int getFighters()
getFleet
public int getFleet()
getLoc
public WorldCoord getLoc()
- Overrides:
getLoc in class Ship
getMilitary
public int getMilitary()
getOre
public double getOre()
getRust
public int getRust()
getShipNum
public int getShipNum()
- Overrides:
getShipNum in class Ship
getSpeed
public double getSpeed()
- Overrides:
getSpeed in class Ship
isSubmerged
public boolean isSubmerged()
- Overrides:
isSubmerged in class Ship
getTime
public double getTime()
isDocked
public boolean isDocked()
getExplosives
public int getExplosives()
isNew
public boolean isNew()