15 lines
195 B
GDScript
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]
|
|
|