com.empireclassic.Remote
Class ShipType

java.lang.Object
  extended by com.empireclassic.Remote.ShipType

public class ShipType
extends java.lang.Object

Author:
chas

Constructor Summary
ShipType(int type, java.lang.String name)
           
ShipType(java.lang.String serverResponse)
           
 
Method Summary
 int getArtillery()
           
 int getBombers()
           
 int getCivilians()
           
 int getCost()
           
 int getExplosives()
           
 int getFighters()
           
 int getFlack()
           
 double getFuel()
           
 int getGunRange()
           
 int getGunSize()
           
 int getHullSize()
           
 int getMilitary()
           
 java.lang.String getName()
           
 int getRadar()
           
 int getSonar()
           
 double getSpeed()
           
 int getType()
           
 boolean isDepthCharges()
           
 boolean isMineLaying()
           
 boolean isMineSweeping()
           
 boolean isSeaGoing()
           
 boolean isShelling()
           
 boolean isSubmersible()
           
 boolean isTorpedoes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShipType

public ShipType(java.lang.String serverResponse)

ShipType

public ShipType(int type,
                java.lang.String name)
Method Detail

getArtillery

public int getArtillery()

getBombers

public int getBombers()

getCivilians

public int getCivilians()

getCost

public int getCost()

isDepthCharges

public boolean isDepthCharges()

getExplosives

public int getExplosives()

getFighters

public int getFighters()

getFlack

public int getFlack()

getFuel

public double getFuel()

getGunRange

public int getGunRange()

getGunSize

public int getGunSize()

getHullSize

public int getHullSize()

getMilitary

public int getMilitary()

isMineLaying

public boolean isMineLaying()

isMineSweeping

public boolean isMineSweeping()

getName

public java.lang.String getName()

getRadar

public int getRadar()

isSeaGoing

public boolean isSeaGoing()

isShelling

public boolean isShelling()

getSonar

public int getSonar()

getSpeed

public double getSpeed()

isSubmersible

public boolean isSubmersible()

isTorpedoes

public boolean isTorpedoes()

getType

public int getType()