Entity

constructor(aName: String? = null)(source)

Creates an entity at the spatial model's default location.

Parameters

aName

an optional name for the entity


constructor(aName: String?, initialLocation: LocationIfc)(source)

Creates an entity that starts at initialLocation rather than at the spatial model's default location, so where it starts does not depend on the order in which locations were declared.

Parameters

aName

an optional name for the entity

initialLocation

where the entity starts; a location of this model's spatial model