palra / univ-mmorpg

0 stars 0 forks source link

CureAction constructor should throw exception when the given character can't cure #27

Closed palra closed 9 years ago

palra commented 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

drattak commented 9 years ago

Skill package deleted