Player
scalata.domain.entities.Player
Playable hero.
-
Stats depend on the chosen role (reach, visibility).
-
Pure API: every mutator returns a new
Player.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Resolve an attack against opponent.
Attributes
- Definition Classes
Heal the entity (never exceeds maxHealth).
true when health > 0.
Produce a copy of the entity at pos.
Attributes
- Definition Classes
Apply damage and return the updated entity.
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article