Prepare the project for javadocs

This commit is contained in:
Gabriele C
2015-11-21 01:27:06 +01:00
parent adcd70b91d
commit 118c79401a
168 changed files with 4375 additions and 422 deletions
@@ -9,6 +9,7 @@ import org.bukkit.inventory.ItemStack;
* player inventory.
*
* @author Xephi59
* @version $Revision: 1.0 $
*/
public class ProtectInventoryEvent extends CustomEvent {
@@ -18,6 +19,10 @@ public class ProtectInventoryEvent extends CustomEvent {
private ItemStack[] emptyArmor = null;
private Player player;
/**
* Constructor for ProtectInventoryEvent.
* @param player Player
*/
public ProtectInventoryEvent(Player player) {
super(true);
this.player = player;
@@ -27,30 +32,58 @@ public class ProtectInventoryEvent extends CustomEvent {
this.emptyArmor = new ItemStack[4];
}
/**
* Method getStoredInventory.
* @return ItemStack[]
*/
public ItemStack[] getStoredInventory() {
return this.storedinventory;
}
/**
* Method getStoredArmor.
* @return ItemStack[]
*/
public ItemStack[] getStoredArmor() {
return this.storedarmor;
}
/**
* Method getPlayer.
* @return Player
*/
public Player getPlayer() {
return this.player;
}
/**
* Method setNewInventory.
* @param emptyInventory ItemStack[]
*/
public void setNewInventory(ItemStack[] emptyInventory) {
this.emptyInventory = emptyInventory;
}
/**
* Method getEmptyInventory.
* @return ItemStack[]
*/
public ItemStack[] getEmptyInventory() {
return this.emptyInventory;
}
/**
* Method setNewArmor.
* @param emptyArmor ItemStack[]
*/
public void setNewArmor(ItemStack[] emptyArmor) {
this.emptyArmor = emptyArmor;
}
/**
* Method getEmptyArmor.
* @return ItemStack[]
*/
public ItemStack[] getEmptyArmor() {
return this.emptyArmor;
}