mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
init
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
extends EntityBase
|
||||
class_name Rooster
|
||||
|
||||
func ai():
|
||||
var vector = Vector2(
|
||||
Input.get_axis("m_left", "m_right"),
|
||||
Input.get_axis("m_up", "m_down")
|
||||
)
|
||||
move(vector)
|
||||
Reference in New Issue
Block a user