org.inigma.utopia.paper.events
Class AttackEvent

java.lang.Object
  extended by org.inigma.utopia.paper.events.AbstractEvent
      extended by org.inigma.utopia.paper.events.AttackEvent
All Implemented Interfaces:
java.lang.Comparable<AbstractEvent>
Direct Known Subclasses:
CaptureLandEvent, MassacreEvent

public class AttackEvent
extends AbstractEvent


Nested Class Summary
static class AttackEvent.AttackType
           
 
Field Summary
protected  Province attacker
           
protected  AttackEvent.AttackType type
           
protected  Province victum
           
 
Constructor Summary
AttackEvent()
           
 
Method Summary
 Province getAttacker()
           
 AbstractEvent getEvent(java.lang.String eventText)
           
 AttackEvent.AttackType getType()
           
 Province getVictum()
           
 void setAttacker(Province attacker)
           
 void setType(AttackEvent.AttackType type)
           
 void setVictum(Province victum)
           
 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
 

Field Detail

attacker

protected Province attacker

victum

protected Province victum

type

protected AttackEvent.AttackType type
Constructor Detail

AttackEvent

public AttackEvent()
Method Detail

getEvent

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

setAttacker

public void setAttacker(Province attacker)

setType

public void setType(AttackEvent.AttackType type)

setVictum

public void setVictum(Province victum)

getAttacker

public Province getAttacker()

getType

public AttackEvent.AttackType getType()

getVictum

public Province getVictum()

toString

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


Copyright © 2008. All Rights Reserved.