Abstract Protected _positionCurrent position in environment
Readonly createdCreation timestamp
Readonly idUnique identifier for this agent
Protected lastLast update timestamp
Protected propertiesAgent properties with type-safe access
Protected stateCurrent agent state
Static prefixedGet current agent state
Private emitPrivate emitPrivate emitEmit property changed event
Get all properties as readonly record
Get all agent properties as an object
Get agent property with type safety
Set position with validation and event emission
Set agent property with validation and event emission
Abstract stepProtected validateProtected validateValidate position before setting Override in subclasses for custom validation
Protected validateValidate property value before setting Override in subclasses for custom validation
Abstract Agent class - foundation for all agent types
Provides core functionality:
Educational Context: Represents individual community members with properties that can change through interactions and environmental influences.