Entity

scalata.domain.entities.Entity
trait Entity

Base type for any in-game object that must be identifiable.

  • id – unique key, stable for the whole run

  • name – human-readable label

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Enemy
trait Item
class Dust
class ExitDoor
class Potion
class Sign
class Weapon
class Player
Show all

Members list

Value members

Abstract fields

val id: String
val name: String