diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/event/PerkBlockGrabEvent.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/event/PerkBlockGrabEvent.java new file mode 100644 index 000000000..4e0805099 --- /dev/null +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/event/PerkBlockGrabEvent.java @@ -0,0 +1,45 @@ +package nautilus.game.arcade.kit.perks.event; + +import org.bukkit.entity.Player; +import org.bukkit.event.Event; +import org.bukkit.event.HandlerList; + +public class PerkBlockGrabEvent extends Event +{ + private static final HandlerList handlers = new HandlerList(); + private Player _player; + private int _id; + private byte _data; + + public PerkBlockGrabEvent(Player player, int id, byte data) + { + _player = player; + _id = id; + _data = data; + } + + public HandlerList getHandlers() + { + return handlers; + } + + public static HandlerList getHandlerList() + { + return handlers; + } + + public Player GetPlayer() + { + return _player; + } + + public int GetId() + { + return _id; + } + + public byte GetData() + { + return _data; + } +} diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/event/PerkBlockThrowEvent.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/event/PerkBlockThrowEvent.java new file mode 100644 index 000000000..a3cf9724a --- /dev/null +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/kit/perks/event/PerkBlockThrowEvent.java @@ -0,0 +1,31 @@ +package nautilus.game.arcade.kit.perks.event; + +import org.bukkit.entity.Player; +import org.bukkit.event.Event; +import org.bukkit.event.HandlerList; + +public class PerkBlockThrowEvent extends Event +{ + private static final HandlerList handlers = new HandlerList(); + private Player _player; + + public PerkBlockThrowEvent(Player player) + { + _player = player; + } + + public HandlerList getHandlers() + { + return handlers; + } + + public static HandlerList getHandlerList() + { + return handlers; + } + + public Player GetPlayer() + { + return _player; + } +}