add kanban

This commit is contained in:
algodoogle
2026-07-16 15:52:34 +01:00
parent 329bb1f984
commit 5e0b58a984
94 changed files with 5384 additions and 1 deletions
+40
View File
@@ -0,0 +1,40 @@
@tool
extends "kanban_resource.gd"
## Data of a step.
var details: String:
set(value):
details = value
__notify_changed()
var done: bool:
set(value):
done = value
__notify_changed()
func _init(p_details: String = "", p_done: bool = false) -> void:
details = p_details
done = p_done
super._init()
func to_json() -> Dictionary:
return {
"details": details,
"done": done,
}
func from_json(json: Dictionary) -> void:
if json.has("details"):
details = json["details"]
else:
push_warning("Loading incomplete json data which is missing details.")
if json.has("done"):
done = json["done"]
else:
push_warning("Loading incomplete json data which is missing 'done'.")