org.inigma.utopia.paper.events
Class DefectEvent

java.lang.Object
  extended by org.inigma.utopia.paper.events.AbstractEvent
      extended by org.inigma.utopia.paper.events.DefectEvent
All Implemented Interfaces:
java.lang.Comparable<AbstractEvent>

public class DefectEvent
extends AbstractEvent


Constructor Summary
DefectEvent()
           
 
Method Summary
 Province getDefector()
           
 Kingdom getDestination()
           
 AbstractEvent getEvent(java.lang.String eventText)
           
 void setDefector(Province defector)
           
 void setDestination(Kingdom destination)
           
 java.lang.String toString()
           
 
Methods inherited from class org.inigma.utopia.paper.events.AbstractEvent
compareTo, getDate, getKingdom, getNumber, getProvince, setUtopiaDate, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefectEvent

public DefectEvent()
Method Detail

getEvent

public AbstractEvent getEvent(java.lang.String eventText)
Specified by:
getEvent in class AbstractEvent

setDefector

public void setDefector(Province defector)

setDestination

public void setDestination(Kingdom destination)

getDefector

public Province getDefector()

getDestination

public Kingdom getDestination()

toString

public java.lang.String toString()
Overrides:
toString in class AbstractEvent


Copyright © 2008. All Rights Reserved.