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