123456789101112 |
- extends RigidBody2D
- export (int) var MIN_SPEED
- export (int) var MAX_SPEED
- var mob_types = ["walk", "swim", "fly"]
- func _ready():
- $AnimatedSprite.animation = mob_types[randi() % mob_types.size()]
- func _on_Visibility_screen_exited():
- queue_free()
|