NPCSchema constructor

NPCSchema({
  1. required String name,
  2. required String code,
  3. required String description,
  4. required NPCType type,
  5. List<SimpleNPCItemSchema> items = const [],
})

Returns a new NPCSchema instance.

Implementation

NPCSchema({
  required this.name,
  required this.code,
  required this.description,
  required this.type,
  this.items = const [],
});