Combatant
scalata.domain.entities.components.Combatant
Entity that can engage in combat.
-
attackPower – base damage dealt by the entity.
-
attack – pure function: returns a new instance of the opponent after damage has been applied.
Type parameters
- E
-
concrete opponent type
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
In this article