godot-psd-training/trainings/def/training.gd
2024-04-26 18:29:21 +08:00

15 lines
195 B
GDScript

class_name Training
func _init(_name, _desc, _jobs):
name = _name
desc = _desc
jobs = _jobs
## 实训名称
var name: String
## 场景描述
var desc: String
## 任务
var jobs: Array[Job]