Extensive work on animations and partially functional level keys, new UI gears but needs rounding error correction. Particle preloader added.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
class_name Pickup extends Area3D
|
||||
class_name Collectable extends Area3D
|
||||
|
||||
|
||||
enum Type{
|
||||
DATABLOCK,
|
||||
DATAKEY,
|
||||
INTEGRITY,
|
||||
SCAN,
|
||||
BASIC_HACK,
|
||||
@@ -13,5 +13,5 @@ enum Type{
|
||||
|
||||
func _on_body_entered(body: Node3D) -> void:
|
||||
if body is PawnController:
|
||||
body.pickup(type)
|
||||
body.collect(type)
|
||||
queue_free()
|
||||
|
||||
Reference in New Issue
Block a user