Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package us.legioncraft.legions.champions;
- import org.bukkit.entity.Player;
- import us.legioncraft.legions.entities.IngamePlayer;
- import us.legioncraft.legions.entities.TeamColor;
- import us.legioncraft.legions.spells.Spell;
- public class Champion {
- private String name;
- private IngamePlayer igPlayer;
- private ChampionType type;
- private Spell spell1;
- private Spell spell2;
- private Spell spell3;
- private Spell spell4;
- private Player player;
- private int lvl;
- public Champion(String name, ChampionType type, Spell s1, Spell s2, Spell s3, Spell s4, Player player, TeamColor color, String id){
- this.name = name;
- this.type = type;
- this.spell1 = s1;
- this.spell2 = s2;
- this.spell3 = s3;
- this.spell4 = s4;
- this.player = player;
- this.igPlayer = new IngamePlayer(player, this, color, id);
- lvl = 1;
- }
- public ChampionType getType(){
- return type;
- }
- public String getName(){
- return name;
- }
- public Spell getSpell1(){
- return spell1;
- }
- public Spell getSpell2(){
- return spell2;
- }
- public Spell getSpell3(){
- return spell3;
- }
- public Spell getSpell4(){
- return spell4;
- }
- public Player getPlayer(){
- return player;
- }
- public IngamePlayer getIgPlayer(){
- return igPlayer;
- }
- public int getLevel(){
- return lvl;
- }
- public void setLevel(int lvl){
- this.lvl = lvl;
- }
- public void addLevels(int lvl){
- this.lvl = lvl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement