diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-12-28 15:08:23 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-12-28 15:08:23 +0100 |
commit | 474ef692613f298ab05bbb65ad85625f178b63cc (patch) | |
tree | d069e587c8d731ea8191ee0318abc85694c04351 /item | |
parent | d572bc0a27b05c6632ba76bd630c7c4fd8f0ae5d (diff) |
next commit
Diffstat (limited to 'item')
-rw-r--r-- | item/item.gd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/item/item.gd b/item/item.gd index 4f99999..fa00841 100644 --- a/item/item.gd +++ b/item/item.gd @@ -2,5 +2,9 @@ class_name Item extends Node2D +func _ready() -> void: + $Sprite2D.modulate = Color(max(0.1, randf()), max(0.1, randf()), max(0.1, randf())) + + func apply(_player: Player): pass |