com.empireclassic.Remote
Class RemoteEmpire.AttackReply

java.lang.Object
  extended by com.empireclassic.Remote.RemoteEmpire.AttackReply
Enclosing class:
RemoteEmpire

public class RemoteEmpire.AttackReply
extends java.lang.Object


Constructor Summary
RemoteEmpire.AttackReply(int casualties, EmpireError error)
           
RemoteEmpire.AttackReply(java.lang.String response)
           
 
Method Summary
 int getCasualties()
           
 int getEnemyCasualties()
           
 EmpireError getError()
           
 boolean isWon()
           
 void setCasualties(int casualties)
           
 void setEnemyCasualties(int enemyCasualties)
           
 void setError(EmpireError error)
           
 void setWon(boolean won)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteEmpire.AttackReply

public RemoteEmpire.AttackReply(int casualties,
                                EmpireError error)

RemoteEmpire.AttackReply

public RemoteEmpire.AttackReply(java.lang.String response)
Method Detail

getCasualties

public int getCasualties()

setCasualties

public void setCasualties(int casualties)

getEnemyCasualties

public int getEnemyCasualties()

setEnemyCasualties

public void setEnemyCasualties(int enemyCasualties)

isWon

public boolean isWon()

setWon

public void setWon(boolean won)

getError

public EmpireError getError()

setError

public void setError(EmpireError error)