diff options
| author | tpart <tpart120@proton.me> | 2025-10-13 23:00:45 +0200 |
|---|---|---|
| committer | tpart <tpart120@proton.me> | 2025-10-13 23:00:57 +0200 |
| commit | 2766451dd076c35e74e6c2d3ade0e223f026c568 (patch) | |
| tree | 30fd48cd78499396a413e617d50f9d7f985eac58 /client/map/items | |
| parent | bf323abb08d78c88c6d6bc63ee46b3b587474017 (diff) | |
| download | hurrycurry-2766451dd076c35e74e6c2d3ade0e223f026c568.tar hurrycurry-2766451dd076c35e74e6c2d3ade0e223f026c568.tar.bz2 hurrycurry-2766451dd076c35e74e6c2d3ade0e223f026c568.tar.zst | |
Add comment explaining is_round
Diffstat (limited to 'client/map/items')
| -rw-r--r-- | client/map/items/item.gd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/map/items/item.gd b/client/map/items/item.gd index 3e5cf81f..bf7c60ed 100644 --- a/client/map/items/item.gd +++ b/client/map/items/item.gd @@ -58,6 +58,8 @@ func _init(owned_by_: Node3D): add_child(base) owned_by = owned_by_ +# is_round is used to determine if the cursor should be rotated to match the +# item's rotation (rotate if it's not round) func is_round(): return true func add_contents(contents: Array[String]): |