Behavior constructor

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

Implementation

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