Behavior constructor

Behavior({
  1. BehaviorType type = BehaviorType.speak,
  2. required Character character,
  3. String? dialog,
  4. Branch? branch,
  5. Position? position,
  6. StateEnum? state,
})

Implementation

Behavior(
    {this.type = BehaviorType.speak,
    required this.character,
    this.dialog,
    this.branch,
    this.position,
    this.state});