2013-08-27 17:14:08 +02:00
|
|
|
package mineplex.minecraft.game.classcombat.Skill;
|
|
|
|
|
2014-03-28 08:50:38 +01:00
|
|
|
import java.util.ArrayList;
|
2014-03-28 03:17:31 +01:00
|
|
|
import java.util.Set;
|
2013-08-27 17:14:08 +02:00
|
|
|
|
2014-03-28 03:17:31 +01:00
|
|
|
import org.bukkit.entity.Entity;
|
2013-08-27 17:14:08 +02:00
|
|
|
import org.bukkit.entity.Player;
|
|
|
|
|
|
|
|
import mineplex.minecraft.game.classcombat.Class.IPvpClass.ClassType;
|
|
|
|
|
|
|
|
public interface ISkill
|
|
|
|
{
|
|
|
|
public enum SkillType
|
|
|
|
{
|
|
|
|
Axe,
|
|
|
|
Bow,
|
|
|
|
Sword,
|
|
|
|
PassiveA,
|
|
|
|
PassiveB,
|
|
|
|
GlobalPassive,
|
|
|
|
Class,
|
|
|
|
}
|
|
|
|
|
|
|
|
String GetName();
|
2014-03-28 03:17:31 +01:00
|
|
|
int getLevel(Entity ent);
|
2013-08-27 17:14:08 +02:00
|
|
|
ClassType GetClassType();
|
|
|
|
SkillType GetSkillType();
|
2014-03-29 23:45:53 +01:00
|
|
|
int GetGemCost();
|
|
|
|
int GetTokenCost();
|
2013-08-27 17:14:08 +02:00
|
|
|
boolean IsFree();
|
2014-03-28 08:50:38 +01:00
|
|
|
String[] GetDesc(int level);
|
2013-08-27 17:14:08 +02:00
|
|
|
void Reset(Player player);
|
|
|
|
|
2014-03-28 03:17:31 +01:00
|
|
|
Set<Player> GetUsers();
|
|
|
|
void AddUser(Player player, int level);
|
2013-08-27 17:14:08 +02:00
|
|
|
void RemoveUser(Player player);
|
|
|
|
|
|
|
|
Integer GetSalesPackageId();
|
2014-03-28 03:17:31 +01:00
|
|
|
int getMaxLevel();
|
2013-08-27 17:14:08 +02:00
|
|
|
}
|