org.inigma.utopia.paper.events
Class RelationsEvent

java.lang.Object
  extended by org.inigma.utopia.paper.events.AbstractEvent
      extended by org.inigma.utopia.paper.events.RelationsEvent
All Implemented Interfaces:
java.lang.Comparable<AbstractEvent>
Direct Known Subclasses:
CancelCeaseFireEvent, CeaseFireEvent, WarBeganEvent, WarDeclaredEvent, WarLoseEvent, WarWinEvent

public class RelationsEvent
extends AbstractEvent


Field Summary
protected  Kingdom target
           
 
Constructor Summary
RelationsEvent()
           
 
Method Summary
 AbstractEvent getEvent(java.lang.String eventText)
           
 Kingdom getTarget()
           
 void setTarget(Kingdom target)
           
 
Methods inherited from class org.inigma.utopia.paper.events.AbstractEvent
compareTo, getDate, getKingdom, getNumber, getProvince, setUtopiaDate, toString, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

target

protected Kingdom target
Constructor Detail

RelationsEvent

public RelationsEvent()
Method Detail

getEvent

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

setTarget

public void setTarget(Kingdom target)

getTarget

public Kingdom getTarget()


Copyright © 2008. All Rights Reserved.