public class FieldBattleEvent extends Event implements LocalEvent, EntityRelatedEvent, HfRelatedEvent
id
Constructor and Description |
---|
FieldBattleEvent() |
Modifier and Type | Method and Description |
---|---|
int |
getAttackerCivId() |
int |
getAttackerGeneralHfId() |
int |
getDefenderCivId() |
int |
getDefenderGeneralHfId() |
EventLocation |
getLocation() |
String |
getShortDescription() |
boolean |
isRelatedToEntity(int entityId) |
boolean |
isRelatedToHf(int hfId) |
void |
setAttackerCivId(int attackerCivId) |
void |
setAttackerGeneralHfId(int attackerGeneralHfId) |
void |
setDefenderCivId(int defenderCivId) |
void |
setDefenderGeneralHfId(int defenderGeneralHfId) |
getCollection, getDate, getDescription, getSeconds, getSentence, getType, getYear, process, setCollection, setSeconds, setType, setYear
getId, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRelatedToRegion, isRelatedToSite
public int getAttackerCivId()
public void setAttackerCivId(int attackerCivId)
public int getDefenderCivId()
public void setDefenderCivId(int defenderCivId)
public int getAttackerGeneralHfId()
public void setAttackerGeneralHfId(int attackerGeneralHfId)
public int getDefenderGeneralHfId()
public void setDefenderGeneralHfId(int defenderGeneralHfId)
public EventLocation getLocation()
getLocation
in interface LocalEvent
public boolean isRelatedToEntity(int entityId)
isRelatedToEntity
in interface EntityRelatedEvent
public boolean isRelatedToHf(int hfId)
isRelatedToHf
in interface HfRelatedEvent
public String getShortDescription()
getShortDescription
in class Event
Copyright © 2017. All rights reserved.