mirror of
https://github.com/tpawstdio/skyscraperrising.git
synced 2025-06-25 09:34:43 -04:00
Basic office functionality
When an office is no longer vacant, rent timer will start and the player will be paid on and the timer will be restarted on timeout.
This commit is contained in:
parent
68e75226e6
commit
8586220975
3 changed files with 27 additions and 0 deletions
|
@ -4,3 +4,7 @@
|
|||
|
||||
[node name="Office" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Rent" type="Timer" parent="."]
|
||||
wait_time = 5.0
|
||||
[connection signal="timeout" from="Rent" to="." method="_on_Rent_timeout"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue