Uses of Class
model.battle.ActionResult
Packages that use ActionResult
Package
Description
Turn-based battle system supporting Player vs Goblin and Player vs Player modes.
-
Uses of ActionResult in model.battle
Fields in model.battle declared as ActionResultModifier and TypeFieldDescriptionprivate ActionResultBattleResult.resultAAction result for entityA.private ActionResultBattleResult.resultBAction result for entityB.Methods in model.battle that return ActionResultModifier and TypeMethodDescriptionBattleResult.getResultA()BattleResult.getResultB()private ActionResultBattleManager.processAction(Entity actor, BattleAction action, Entity target) Processes one entity's action.Methods in model.battle with parameters of type ActionResultModifier and TypeMethodDescriptionprivate voidBattleManager.applySkillEffect(Player actor, Skill skill, Entity target, ActionResult res) Applies the skill's effect according to its SkillEffect type.private BattleResultBattleManager.getBattleResult(ActionResult resA, ActionResult resB) Evaluates the outcomes of both sides' actions and determines the winner/loser.voidBattleResult.setResultA(ActionResult r) voidBattleResult.setResultB(ActionResult r)