-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 155 combat defense #157
base: master
Are you sure you want to change the base?
Conversation
I put up some enums for different states:
All implement the interface The factors are created by the CombatEntity. Currently that is pretty basic. It can be used for further additions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Easy to extend later, I like that.
I just have some minor comments.
game/engine/src/main/kotlin/de/gleex/pltcmd/game/engine/entities/types/Combatant.kt
Outdated
Show resolved
Hide resolved
game/engine/src/main/kotlin/de/gleex/pltcmd/game/engine/entities/types/Combatant.kt
Outdated
Show resolved
Hide resolved
game/engine/src/main/kotlin/de/gleex/pltcmd/game/engine/entities/types/Combatant.kt
Outdated
Show resolved
Hide resolved
model/combat/src/main/kotlin/de/gleex/pltcmd/model/combat/defense/CoverState.kt
Show resolved
Hide resolved
model/combat/src/main/kotlin/de/gleex/pltcmd/model/combat/defense/DefenseFactor.kt
Outdated
Show resolved
Hide resolved
model/combat/src/main/kotlin/de/gleex/pltcmd/model/combat/defense/DefenseFactor.kt
Outdated
Show resolved
Hide resolved
model/combat/src/main/kotlin/de/gleex/pltcmd/model/combat/defense/MovementState.kt
Outdated
Show resolved
Hide resolved
model/combat/src/main/kotlin/de/gleex/pltcmd/model/combat/defense/TotalDefense.kt
Outdated
Show resolved
Hide resolved
…, KDoc for CoverState
Co-authored-by: Baret <[email protected]>
Co-authored-by: Baret <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please let us not use the world map to dynamically calculate the defense ;)
No description provided.