summaryrefslogtreecommitdiff
path: root/scenes/main.gd
diff options
context:
space:
mode:
authorZoey Kitt <zoey.kitt@outlook.com>2024-11-16 17:46:13 -0600
committerZoey Kitt <zoey.kitt@outlook.com>2024-11-16 17:46:13 -0600
commit21609e84f29ca7461d548915dc5b0acef0b82bf1 (patch)
treeda3bc6bcf608362bc08c6ade122b5c822c8220d4 /scenes/main.gd
parent7546c31057cbdec92c08e5d2ed3b59b5910a0956 (diff)
Finish migration I think? I got distracted
Diffstat (limited to 'scenes/main.gd')
-rw-r--r--scenes/main.gd17
1 files changed, 0 insertions, 17 deletions
diff --git a/scenes/main.gd b/scenes/main.gd
index 7025386..dbfcd65 100644
--- a/scenes/main.gd
+++ b/scenes/main.gd
@@ -1,23 +1,14 @@
extends Node2D
-var net_worth: Big
-
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
_on_microgame_spawn_timer_timeout()
- net_worth = Big.new(1000)
-
- var window = get_window()
- window.position = Vector2(450, 360)
- window.size = Vector2(1319, 300)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
# The most important functionality
if Input.is_action_just_pressed("G"):
$Meow.play()
-
- #$Score.text = "Net worth: \n$%s" % net_worth.toString()
func _on_microgame_spawn_timer_timeout() -> void:
@@ -40,11 +31,3 @@ func _on_microgame_spawn_timer_timeout() -> void:
func _on_microgame_win(window: MicrogameWindow):
print("yay")
-
-
-func _on_stock_ticker_buy(amount: Variant) -> void:
- net_worth = net_worth.minus(amount)
-
-
-func _on_stock_ticker_sell(amount: Variant) -> void:
- net_worth = net_worth.plus(amount)