blob: ec418225d9e432af093e4afe9897df1c5a68cf7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
extends CharacterBody2D
@onready var component_collision: ComponentCollision = $Collision
@onready var component_movement: ComponentMovement = $Movement
func _ready():
add_to_group("enemies")
component_collision.init()
func _physics_process(delta):
component_movement.physics_process(delta)
# todo: animation shadow
|