Update EventType.java

This commit is contained in:
키에르
2019-11-09 00:17:29 +09:00
committed by GitHub
parent 8b2934c60e
commit 124480f96b

View File

@@ -126,9 +126,19 @@ public class EventType{
}
/** Called when a player withdraws items from a block. Tutorial only.*/
/** Called when the player withdraws items from a block. */
public static class WithdrawEvent{
public final Tile tile;
public final Player player;
public final Item item;
public final int amount;
public WithdrawEvent(Tile tile, Player player, Item item, int amount){
this.tile = tile;
this.player = player;
this.item = item;
this.amount = amount;
}
}
/** Called when a player deposits items to a block.*/