blob: c90e473cfcaab834f490aa7fc4e1da6231857565 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
extends Node2D
## I need the signal-emitter to be the root node of this scene and when I
## tried to just move the script it broke the stonk line so here this is I guess lol
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_stonks_buy(amount: Variant) -> void:
print("-$%s" % amount.toString())
func _on_stonks_sell(amount: Variant) -> void:
print("+$%s" % amount.toString())
|