Advertisement
Guest User

Untitled

a guest
Nov 30th, 2015
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 6.23 KB | None | 0 0
  1. package com.minebone.api;
  2.  
  3. import java.util.ArrayList;
  4. import java.util.List;
  5.  
  6. public interface IPlayer {
  7.    
  8.     /**
  9.      * Gets the rank.
  10.      *
  11.      * @return the rank
  12.      */
  13.     public abstract IRank getRank();
  14.  
  15.     /**
  16.      * Gets the money.
  17.      *
  18.      * @return the money
  19.      */
  20.     public abstract int getMoney();
  21.  
  22.     /**
  23.      * Gets the bought packages.
  24.      *
  25.      * @return the bought packages
  26.      */
  27.     public abstract ArrayList<String> getBoughtPackages();
  28.  
  29.     /**
  30.      * Sets the rank.
  31.      *
  32.      * @param rank the new rank
  33.      */
  34.     public abstract void setRank(IRank rank);
  35.  
  36.     /**
  37.      * Sets the money.
  38.      *
  39.      * @param money the new money
  40.      */
  41.     public abstract void setMoney(int money);
  42.  
  43.     /**
  44.      * Give bones.
  45.      *
  46.      * @param amount the amount
  47.      */
  48.     public abstract void giveBones(int amount);
  49.  
  50.     /**
  51.      * Removes the bones.
  52.      *
  53.      * @param amount the amount
  54.      */
  55.     public abstract void removeBones(int amount);
  56.  
  57.     /**
  58.      * Adds the bought package.
  59.      *
  60.      * @param name the name
  61.      */
  62.     public abstract void addBoughtPackage(String name);
  63.  
  64.     /**
  65.      * Gets the active gadget.
  66.      *
  67.      * @return the active gadget
  68.      */
  69.     public abstract IGadget getActiveGadget();
  70.  
  71.     /**
  72.      * Sets the active gadget.
  73.      *
  74.      * @param gadget the new active gadget
  75.      */
  76.     public abstract void setActiveGadget(IGadget gadget);
  77.  
  78.     /**
  79.      * Gets the active particle effect.
  80.      *
  81.      * @return the active particle effect
  82.      */
  83.     public abstract IParticleEffect getActiveParticleEffect();
  84.  
  85.     /**
  86.      * Sets the active particle effect.
  87.      *
  88.      * @param effect the new active particle effect
  89.      */
  90.     public abstract void setActiveParticleEffect(IParticleEffect effect);
  91.  
  92.     /**
  93.      * Gets the active hat.
  94.      *
  95.      * @return the active hat
  96.      */
  97.     public abstract IHat getActiveHat();
  98.  
  99.     /**
  100.      * Sets the active hat.
  101.      *
  102.      * @param activeHat the new active hat
  103.      */
  104.     public abstract void setActiveHat(IHat activeHat);
  105.  
  106.     /**
  107.      * Gets the hats.
  108.      *
  109.      * @return the hats
  110.      */
  111.     public abstract List<IHat> getHats();
  112.  
  113.     /**
  114.      * Gets the particle effects.
  115.      *
  116.      * @return the particle effects
  117.      */
  118.     public abstract List<IParticleEffectType> getParticleEffects();
  119.  
  120.     /**
  121.      * Message the player.
  122.      *
  123.      * @param message the message
  124.      */
  125.     public abstract void message(String message);
  126.  
  127.     /**
  128.      * Message the player with a module prefix.
  129.      *
  130.      * @param module the module
  131.      * @param message the message
  132.      */
  133.     public abstract void message(String module, String message);
  134.  
  135.     /**
  136.      * Send a centered message.
  137.      *
  138.      * @param message the message
  139.      */
  140.     public abstract void sendCenteredMessage(String message);
  141.  
  142.     /**
  143.      * Destory the player instance.
  144.      */
  145.     public abstract void destoryPlayer();
  146.  
  147.     /**
  148.      * Sets the kits.
  149.      *
  150.      * @param kitTypes the new kits
  151.      */
  152.     public abstract void setKits(List<IKitType> kitTypes);
  153.  
  154.     /**
  155.      * Owns kit.
  156.      *
  157.      * @param kit the kit
  158.      * @return true, if successful
  159.      */
  160.     public abstract boolean ownsKit(IKitType kit);
  161.  
  162.     /**
  163.      * Purchase kit.
  164.      *
  165.      * @param kit the kit
  166.      */
  167.     public abstract void purchaseKit(IKitType kit);
  168.  
  169.     /**
  170.      * Gets the bat blaster ammo.
  171.      *
  172.      * @return the bat blaster ammo
  173.      */
  174.     public abstract int getBatBlasterAmmo();
  175.  
  176.     /**
  177.      * Sets the bat blaster ammo.
  178.      *
  179.      * @param batBlasterAmmo the new bat blaster ammo
  180.      */
  181.     public abstract void setBatBlasterAmmo(int batBlasterAmmo);
  182.  
  183.     /**
  184.      * Gets the chickenator ammo.
  185.      *
  186.      * @return the chickenator ammo
  187.      */
  188.     public abstract int getChickenatorAmmo();
  189.  
  190.     /**
  191.      * Sets the chickenator ammo.
  192.      *
  193.      * @param chickenatorAmmo the new chickenator ammo
  194.      */
  195.     public abstract void setChickenatorAmmo(int chickenatorAmmo);
  196.  
  197.     /**
  198.      * Gets the color bomb ammo.
  199.      *
  200.      * @return the color bomb ammo
  201.      */
  202.     public abstract int getColorBombAmmo();
  203.  
  204.     /**
  205.      * Sets the color bomb ammo.
  206.      *
  207.      * @param colorBombAmmo the new color bomb ammo
  208.      */
  209.     public abstract void setColorBombAmmo(int colorBombAmmo);
  210.  
  211.     /**
  212.      * Gets the disco ball ammo.
  213.      *
  214.      * @return the disco ball ammo
  215.      */
  216.     public abstract int getDiscoBallAmmo();
  217.  
  218.     /**
  219.      * Sets the disco ball ammo.
  220.      *
  221.      * @param discoBallAmmo the new disco ball ammo
  222.      */
  223.     public abstract void setDiscoBallAmmo(int discoBallAmmo);
  224.  
  225.     /**
  226.      * Gets the ethereal pearl ammo.
  227.      *
  228.      * @return the ethereal pearl ammo
  229.      */
  230.     public abstract int getEtherealPearlAmmo();
  231.  
  232.     /**
  233.      * Sets the ethereal pearl ammo.
  234.      *
  235.      * @param etherealPearlAmmo the new ethereal pearl ammo
  236.      */
  237.     public abstract void setEtherealPearlAmmo(int etherealPearlAmmo);
  238.  
  239.     /**
  240.      * Gets the flesh hook ammo.
  241.      *
  242.      * @return the flesh hook ammo
  243.      */
  244.     public abstract int getFleshHookAmmo();
  245.  
  246.     /**
  247.      * Sets the flesh hook ammo.
  248.      *
  249.      * @param fleshHookAmmo the new flesh hook ammo
  250.      */
  251.     public abstract void setFleshHookAmmo(int fleshHookAmmo);
  252.  
  253.     /**
  254.      * Gets the blizzard blaster ammo.
  255.      *
  256.      * @return the blizzard blaster ammo
  257.      */
  258.     public abstract int getBlizzardBlasterAmmo();
  259.  
  260.     /**
  261.      * Sets the blizzard blaster ammo.
  262.      *
  263.      * @param blizzardBlasterAmmo the new blizzard blaster ammo
  264.      */
  265.     public abstract void setBlizzardBlasterAmmo(int blizzardBlasterAmmo);
  266.  
  267.     /**
  268.      * Gets the explosive sheep ammo.
  269.      *
  270.      * @return the explosive sheep ammo
  271.      */
  272.     public abstract int getExplosiveSheepAmmo();
  273.  
  274.     /**
  275.      * Sets the explosive sheep ammo.
  276.      *
  277.      * @param explosiveSheepAmmo the new explosive sheep ammo
  278.      */
  279.     public abstract void setExplosiveSheepAmmo(int explosiveSheepAmmo);
  280.  
  281.     /**
  282.      * Gets the paintball ammo.
  283.      *
  284.      * @return the paintball ammo
  285.      */
  286.     public abstract int getPaintballAmmo();
  287.  
  288.     /**
  289.      * Sets the paintball ammo.
  290.      *
  291.      * @param paintballAmmo the new paintball ammo
  292.      */
  293.     public abstract void setPaintballAmmo(int paintballAmmo);
  294.  
  295.     /**
  296.      * Gets the rocket ammo.
  297.      *
  298.      * @return the rocket ammo
  299.      */
  300.     public abstract int getRocketAmmo();
  301.  
  302.     /**
  303.      * Sets the rocket ammo.
  304.      *
  305.      * @param rocketAmmo the new rocket ammo
  306.      */
  307.     public abstract void setRocketAmmo(int rocketAmmo);
  308.  
  309.     /**
  310.      * Gets the tnt ammo.
  311.      *
  312.      * @return the tnt ammo
  313.      */
  314.     public abstract int getTntAmmo();
  315.  
  316.     /**
  317.      * Sets the tnt ammo.
  318.      *
  319.      * @param tntAmmo the new tnt ammo
  320.      */
  321.     public abstract void setTntAmmo(int tntAmmo);
  322.    
  323.     /**
  324.      * Gets the player sql id.
  325.      *
  326.      * @return the player id
  327.      */
  328.     public abstract int getPlayerId();
  329.  
  330. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement