CharacterMovementDataSchema constructor

CharacterMovementDataSchema({
  1. required CooldownSchema cooldown,
  2. required MapSchema destination,
  3. List<List<Object>> path = const [],
  4. required CharacterSchema character,
})

Returns a new CharacterMovementDataSchema instance.

Implementation

CharacterMovementDataSchema({
  required this.cooldown,
  required this.destination,
  this.path = const [],
  required this.character,
});