Class KonquestTownEvent
java.lang.Object
org.bukkit.event.Event
com.github.rumsfield.konquest.api.event.KonquestEvent
com.github.rumsfield.konquest.api.event.town.KonquestTownEvent
- Direct Known Subclasses:
KonquestTownAttackEvent
,KonquestTownCaptureEvent
,KonquestTownDestroyEvent
,KonquestTownSettleEvent
The base town event.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorsConstructorDescriptionKonquestTownEvent
(KonquestAPI konquest, KonquestTown town) Default constructor -
Method Summary
Methods inherited from class com.github.rumsfield.konquest.api.event.KonquestEvent
getHandlerList, getHandlers, getKonquest
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
KonquestTownEvent
Default constructor- Parameters:
konquest
- The API instancetown
- The town
-
-
Method Details
-
getTown
Gets the town associated with the event.- Returns:
- The town
-