skyscraperrising/project/assets/office.tscn
Anthony Foxclaw 8586220975 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.
2020-04-12 16:47:07 -04:00

10 lines
292 B
Text

[gd_scene load_steps=2 format=2]
[ext_resource path="res://src/office.gd" type="Script" id=1]
[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"]