Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.minebone.api;
- import java.util.ArrayList;
- import java.util.List;
- public interface IPlayer {
- /**
- * Gets the rank.
- *
- * @return the rank
- */
- public abstract IRank getRank();
- /**
- * Gets the money.
- *
- * @return the money
- */
- public abstract int getMoney();
- /**
- * Gets the bought packages.
- *
- * @return the bought packages
- */
- public abstract ArrayList<String> getBoughtPackages();
- /**
- * Sets the rank.
- *
- * @param rank the new rank
- */
- public abstract void setRank(IRank rank);
- /**
- * Sets the money.
- *
- * @param money the new money
- */
- public abstract void setMoney(int money);
- /**
- * Give bones.
- *
- * @param amount the amount
- */
- public abstract void giveBones(int amount);
- /**
- * Removes the bones.
- *
- * @param amount the amount
- */
- public abstract void removeBones(int amount);
- /**
- * Adds the bought package.
- *
- * @param name the name
- */
- public abstract void addBoughtPackage(String name);
- /**
- * Gets the active gadget.
- *
- * @return the active gadget
- */
- public abstract IGadget getActiveGadget();
- /**
- * Sets the active gadget.
- *
- * @param gadget the new active gadget
- */
- public abstract void setActiveGadget(IGadget gadget);
- /**
- * Gets the active particle effect.
- *
- * @return the active particle effect
- */
- public abstract IParticleEffect getActiveParticleEffect();
- /**
- * Sets the active particle effect.
- *
- * @param effect the new active particle effect
- */
- public abstract void setActiveParticleEffect(IParticleEffect effect);
- /**
- * Gets the active hat.
- *
- * @return the active hat
- */
- public abstract IHat getActiveHat();
- /**
- * Sets the active hat.
- *
- * @param activeHat the new active hat
- */
- public abstract void setActiveHat(IHat activeHat);
- /**
- * Gets the hats.
- *
- * @return the hats
- */
- public abstract List<IHat> getHats();
- /**
- * Gets the particle effects.
- *
- * @return the particle effects
- */
- public abstract List<IParticleEffectType> getParticleEffects();
- /**
- * Message the player.
- *
- * @param message the message
- */
- public abstract void message(String message);
- /**
- * Message the player with a module prefix.
- *
- * @param module the module
- * @param message the message
- */
- public abstract void message(String module, String message);
- /**
- * Send a centered message.
- *
- * @param message the message
- */
- public abstract void sendCenteredMessage(String message);
- /**
- * Destory the player instance.
- */
- public abstract void destoryPlayer();
- /**
- * Sets the kits.
- *
- * @param kitTypes the new kits
- */
- public abstract void setKits(List<IKitType> kitTypes);
- /**
- * Owns kit.
- *
- * @param kit the kit
- * @return true, if successful
- */
- public abstract boolean ownsKit(IKitType kit);
- /**
- * Purchase kit.
- *
- * @param kit the kit
- */
- public abstract void purchaseKit(IKitType kit);
- /**
- * Gets the bat blaster ammo.
- *
- * @return the bat blaster ammo
- */
- public abstract int getBatBlasterAmmo();
- /**
- * Sets the bat blaster ammo.
- *
- * @param batBlasterAmmo the new bat blaster ammo
- */
- public abstract void setBatBlasterAmmo(int batBlasterAmmo);
- /**
- * Gets the chickenator ammo.
- *
- * @return the chickenator ammo
- */
- public abstract int getChickenatorAmmo();
- /**
- * Sets the chickenator ammo.
- *
- * @param chickenatorAmmo the new chickenator ammo
- */
- public abstract void setChickenatorAmmo(int chickenatorAmmo);
- /**
- * Gets the color bomb ammo.
- *
- * @return the color bomb ammo
- */
- public abstract int getColorBombAmmo();
- /**
- * Sets the color bomb ammo.
- *
- * @param colorBombAmmo the new color bomb ammo
- */
- public abstract void setColorBombAmmo(int colorBombAmmo);
- /**
- * Gets the disco ball ammo.
- *
- * @return the disco ball ammo
- */
- public abstract int getDiscoBallAmmo();
- /**
- * Sets the disco ball ammo.
- *
- * @param discoBallAmmo the new disco ball ammo
- */
- public abstract void setDiscoBallAmmo(int discoBallAmmo);
- /**
- * Gets the ethereal pearl ammo.
- *
- * @return the ethereal pearl ammo
- */
- public abstract int getEtherealPearlAmmo();
- /**
- * Sets the ethereal pearl ammo.
- *
- * @param etherealPearlAmmo the new ethereal pearl ammo
- */
- public abstract void setEtherealPearlAmmo(int etherealPearlAmmo);
- /**
- * Gets the flesh hook ammo.
- *
- * @return the flesh hook ammo
- */
- public abstract int getFleshHookAmmo();
- /**
- * Sets the flesh hook ammo.
- *
- * @param fleshHookAmmo the new flesh hook ammo
- */
- public abstract void setFleshHookAmmo(int fleshHookAmmo);
- /**
- * Gets the blizzard blaster ammo.
- *
- * @return the blizzard blaster ammo
- */
- public abstract int getBlizzardBlasterAmmo();
- /**
- * Sets the blizzard blaster ammo.
- *
- * @param blizzardBlasterAmmo the new blizzard blaster ammo
- */
- public abstract void setBlizzardBlasterAmmo(int blizzardBlasterAmmo);
- /**
- * Gets the explosive sheep ammo.
- *
- * @return the explosive sheep ammo
- */
- public abstract int getExplosiveSheepAmmo();
- /**
- * Sets the explosive sheep ammo.
- *
- * @param explosiveSheepAmmo the new explosive sheep ammo
- */
- public abstract void setExplosiveSheepAmmo(int explosiveSheepAmmo);
- /**
- * Gets the paintball ammo.
- *
- * @return the paintball ammo
- */
- public abstract int getPaintballAmmo();
- /**
- * Sets the paintball ammo.
- *
- * @param paintballAmmo the new paintball ammo
- */
- public abstract void setPaintballAmmo(int paintballAmmo);
- /**
- * Gets the rocket ammo.
- *
- * @return the rocket ammo
- */
- public abstract int getRocketAmmo();
- /**
- * Sets the rocket ammo.
- *
- * @param rocketAmmo the new rocket ammo
- */
- public abstract void setRocketAmmo(int rocketAmmo);
- /**
- * Gets the tnt ammo.
- *
- * @return the tnt ammo
- */
- public abstract int getTntAmmo();
- /**
- * Sets the tnt ammo.
- *
- * @param tntAmmo the new tnt ammo
- */
- public abstract void setTntAmmo(int tntAmmo);
- /**
- * Gets the player sql id.
- *
- * @return the player id
- */
- public abstract int getPlayerId();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement