Initial project sync
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
class_name AIIntent
|
||||
extends RefCounted
|
||||
|
||||
var action_id: StringName
|
||||
var timestamp_ms := 0.0
|
||||
var judgement: Dictionary = {
|
||||
"label": "perfect",
|
||||
"diff": 0.0,
|
||||
"abs_diff": 0.0,
|
||||
}
|
||||
|
||||
|
||||
static func create(next_action_id: StringName, next_timestamp_ms: float) -> RefCounted:
|
||||
var script: Script = load("res://scenes/components/ai_intent.gd")
|
||||
var intent: RefCounted = script.new()
|
||||
intent.action_id = next_action_id
|
||||
intent.timestamp_ms = next_timestamp_ms
|
||||
return intent
|
||||
Reference in New Issue
Block a user