Examples of castSkill()


Examples of game.control.SkillController.castSkill()

        final boolean utilisable = (currentSkill.getUse() == Utilization.OUTSIDE_BATTLE || currentSkill.getUse() == Utilization.TWICE);
        if (currentSkill != null && utilisable) {
            final SkillController skillController = new SkillController(currentSkill, null);
            //TODO: Finir les modifications ici pour adapter avec le système de combat
            if (currentSkill.getTarget() == Target.ALLY) {
                skillController.castSkill(null, fighter);
            }
            else {
                for(Fighter current : fighterListModel){
                    skillController.castSkill(fighter, current);
                }
View Full Code Here

Examples of game.control.SkillController.castSkill()

            if (currentSkill.getTarget() == Target.ALLY) {
                skillController.castSkill(null, fighter);
            }
            else {
                for(Fighter current : fighterListModel){
                    skillController.castSkill(fighter, current);
                }
            }
        }
        return InventoryMode.SAME;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.