org.inigma.utopia.paper.events
Class AttackEvent
java.lang.Object
org.inigma.utopia.paper.events.AbstractEvent
org.inigma.utopia.paper.events.AttackEvent
- All Implemented Interfaces:
- java.lang.Comparable<AbstractEvent>
- Direct Known Subclasses:
- CaptureLandEvent, MassacreEvent
public class AttackEvent
- extends AbstractEvent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
attacker
protected Province attacker
victum
protected Province victum
type
protected AttackEvent.AttackType type
AttackEvent
public AttackEvent()
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.