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:
Anthony Foxclaw 2020-04-12 16:47:07 -04:00
parent 68e75226e6
commit 8586220975
3 changed files with 27 additions and 0 deletions

View file

@ -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"]