mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-12 22:57:13 +08:00
docs(Statemachine): 更新抽象方法的注释说明
This commit is contained in:
@@ -341,7 +341,7 @@ func getTrackingAnchor() -> Vector2:
|
|||||||
func isPlayer():
|
func isPlayer():
|
||||||
return is_in_group("players")
|
return is_in_group("players")
|
||||||
|
|
||||||
# 抽象方法
|
# 抽象方法,实际上是一些钩子,不需要全部实现
|
||||||
func ai():
|
func ai():
|
||||||
pass
|
pass
|
||||||
func attack(_type: int):
|
func attack(_type: int):
|
||||||
|
|||||||
Reference in New Issue
Block a user