boronotes/data/change_note.gd

16 lines
220 B
GDScript

class_name ChangeNote
extends Resource
enum Kind {
ADDED,
CHANGED,
DELETED,
}
@export var kind: Kind
@export var note: Note
func _init(change_kind: Kind, change_note: Note):
kind = change_kind
note = change_note