scalata.domain.entities
package scalata.domain.entities
Members list
Type members
Classlikes
Hostile creature.
Hostile creature.
-
enemyType – family/glyph (goblin, pig, …).
-
position – current tile.
-
health / maxHealth – hit-points pool.
-
attackPower – raw damage inflicted to a player.
All mutators return a new Enemy; no in-place changes.
Attributes
- Supertypes
trait Entity
Base type for any in-game object that must be identifiable.
Base type for any in-game object that must be identifiable.
-
id – unique key, stable for the whole run
-
name – human-readable label
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
trait Item extends Entity, Interactable
Base trait for every pick-able game object (potions, weapons, etc.).
Playable hero.
Playable hero.
-
Stats depend on the chosen role (reach, visibility).
-
Pure API: every mutator returns a new
Player.
Attributes
- Supertypes
In this article