Occupied
o1.city.Occupied
final class Occupied(val
label
: Color) extends Demographic
An Occupied
object signals that a household belongs to a demographic specific by the color label stored within the Occupied
object. For instance, a residence may be “occupied by the red demographic”, or “occupied by the blue demographic”.
An Occupied
object is immutable
Parameters
- label
-
a color that distinguishes the occupying demographic from others
Attributes
- Graph
-
- Supertypes