2014-07-09 21:00:16 +02:00
|
|
|
package com.massivecraft.factions.event;
|
|
|
|
|
|
|
|
import com.massivecraft.factions.FPlayer;
|
|
|
|
import com.massivecraft.factions.Faction;
|
|
|
|
|
2014-07-09 21:01:53 +02:00
|
|
|
/**
|
|
|
|
* Represents an event involving a Faction and a FPlayer.
|
|
|
|
*/
|
2014-07-09 21:00:16 +02:00
|
|
|
public class FactionPlayerEvent extends FactionEvent {
|
|
|
|
|
2019-09-15 11:12:52 +02:00
|
|
|
protected final FPlayer fPlayer;
|
2014-07-09 21:00:16 +02:00
|
|
|
|
2019-09-15 11:12:52 +02:00
|
|
|
public FactionPlayerEvent(Faction faction, FPlayer fPlayer) {
|
|
|
|
super(faction);
|
|
|
|
this.fPlayer = fPlayer;
|
|
|
|
}
|
2014-07-09 21:00:16 +02:00
|
|
|
|
2019-09-15 11:12:52 +02:00
|
|
|
public FPlayer getfPlayer() {
|
|
|
|
return this.fPlayer;
|
|
|
|
}
|
2014-07-09 21:00:16 +02:00
|
|
|
}
|