tock / ai.tock.bot.engine.dialog / DialogState / changeValue

# changeValue

`fun changeValue(entity: Entity, newValue: Value?): Unit` (source)

Change an entity value. Keep previous entity values history.

Entity
the entity

NewValue
the new entity value

`fun changeValue(newValue: EntityValue): Unit` (source)

Change an entity value. Keep previous entity values history.

NewValue
the new entity value

`fun changeValue(role: String, newValue: EntityValue?): Unit` (source)

Change an entity value. Keep previous entity values history.

Role
the role of the entity

NewValue
the new entity value