Closed palra closed 9 years ago
https://github.com/palra/univ-mmorpg/blob/feature/serialization/src/main/java/fr/univdevs/mmorpg/engine/action/CureAction.java
CureAction should accept only Characters that implements CanCure. The same with FightAction and CanFight. It should check it at the constructor, and associated exception should be created in the skills package
Character
CanCure
FightAction
CanFight
skills
CureAction()
FightAction()
Skill package deleted
https://github.com/palra/univ-mmorpg/blob/feature/serialization/src/main/java/fr/univdevs/mmorpg/engine/action/CureAction.java
CureAction should accept only
Character
s that implementsCanCure
. The same withFightAction
andCanFight
. It should check it at the constructor, and associated exception should be created in theskills
packageCureAction()
,CanCure
FightAction()
,CanFight