com.empireclassic.Remote
Class MyShip

java.lang.Object
  extended by com.empireclassic.Remote.Ship
      extended by com.empireclassic.Remote.MyShip
All Implemented Interfaces:
java.lang.Comparable

public class MyShip
extends Ship

Author:
chas

Field Summary
 boolean isNew
           
 
Fields inherited from class com.empireclassic.Remote.Ship
loc, shipNum, speed, submerged, type
 
Constructor Summary
MyShip(java.lang.String serverResponse)
           
 
Method Summary
 int getArtillery()
           
 int getBombers()
           
 int getCivilians()
           
 WorldCoord getDest()
           
 int getEff()
           
 int getExplosives()
           
 int getFighters()
           
 int getFleet()
           
 double getHeading()
           
 WorldCoord getLoc()
           
 int getMilitary()
           
 double getOre()
           
 int getOwner()
           
 int getRust()
           
 int getShells()
           
 int getShipNum()
           
 double getSpeed()
           
 double getTime()
           
 boolean isCourseSet()
           
 boolean isDocked()
           
 boolean isNew()
           
 boolean isSubmerged()
           
 
Methods inherited from class com.empireclassic.Remote.Ship
compareTo, formatName, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isNew

public boolean isNew
Constructor Detail

MyShip

public MyShip(java.lang.String serverResponse)
Method Detail

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()