17 lines
185 B
GDScript
17 lines
185 B
GDScript
extends Area3D
|
|
class_name Obstacle
|
|
|
|
@export var effect: ObstacleEffect
|
|
|
|
enum ObstacleEffect {
|
|
Kill,
|
|
Trip,
|
|
}
|
|
|
|
func _ready() -> void:
|
|
pass
|
|
|
|
|
|
func _process(delta: float) -> void:
|
|
pass
|