iter52-卡3:迭代52卡③(presentation层封装修复): A1三类42字段公开化(280处改址)+A2拆件子件公开面(vitals14/motion14/board_hover七口)+B族组合根交接面(18服务+12句柄口,束参两处,on_*保私有)+C族杂项(UiKit三工厂/构造交付)——presentation私取sweep恒零(V1-V4,105checks),main.gd例外键32与ui_kit例外键23落基线(§3.2误测0/0反哺点),探针测试22处引用迁移,渲染golden与探针套件零转红; 验收档中
This commit is contained in:
1 parent
f2c3a3887d
commit
67024cb9ec
42 files changed
+1391
-679
No files matched your search
@@ -147,3 +147,41 @@ func play_intent_motion(charge: bool) -> void:
|
||||
# 三态探针出口(fx_probe——当前态名+注册态集合;宿主 hero_state_probe 读件投影,外形零变)
|
||||
func state_probe() -> Dictionary:
|
||||
return {"state": _HS_NAME.get(_hero_state, "idle"), "registered": _hero_tex.keys()}
|
||||
|
||||
|
||||
# ---- 意图徽标行为与绘制读口(pres封装 A2——宿主经此读写,字段保持私有)----
|
||||
|
||||
# 意图徽标显隐/设定(宿主 set_pending/mark_dead 三处同型归位——显示后由宿主拍 play_intent_motion)
|
||||
func show_intent(glyph: String, col: Color) -> void:
|
||||
_intent_glyph = glyph
|
||||
_intent_col = col
|
||||
_intent_visible = true
|
||||
|
||||
|
||||
func hide_intent() -> void:
|
||||
_intent_visible = false
|
||||
|
||||
|
||||
# 绘制路径读投影(宿主 _draw 每帧调用——逐 getter 免逐帧字典分配)
|
||||
func intent_visible() -> bool:
|
||||
return _intent_visible
|
||||
|
||||
|
||||
func intent_glyph() -> String:
|
||||
return _intent_glyph
|
||||
|
||||
|
||||
func intent_col() -> Color:
|
||||
return _intent_col
|
||||
|
||||
|
||||
func intent_scale() -> float:
|
||||
return _intent_scale
|
||||
|
||||
|
||||
func intent_rot() -> float:
|
||||
return _glyph_rot
|
||||
|
||||
|
||||
func portrait_sprite() -> Sprite2D:
|
||||
return _portrait_sprite
|
||||
Reference in new issue
Block a user