I hate my code, but buy/sell is done
This commit is contained in:
parent
b68215a710
commit
1ea6c2d296
18 changed files with 208 additions and 64 deletions
7
scripts/Base/Menu/set_buy_sell_selected_item.gd
Normal file
7
scripts/Base/Menu/set_buy_sell_selected_item.gd
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
extends MenuAction
|
||||
|
||||
@onready var menu = get_parent()
|
||||
|
||||
func action():
|
||||
menu.buy_sell_selected_item = id - 1 + menu.buy_sell_tab * 6
|
||||
get_parent().transit_menu(id)
|
||||
Loading…
Add table
Add a link
Reference in a new issue