mirror of
https://github.com/tonytins/dressupzack
synced 2025-06-25 16:14:43 -04:00
Cleaned up code base
- Moved character variables and News API address to global GameData class
This commit is contained in:
parent
ec79a57f96
commit
e90a500858
18 changed files with 153 additions and 168 deletions
|
@ -3,5 +3,5 @@
|
|||
extends "res://scripts/clothing/clothing_base.gd"
|
||||
|
||||
func _on_accessory_pressed():
|
||||
character.accessory = texture_normal
|
||||
GameData.accessory = texture_normal
|
||||
$select.play()
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
extends "res://scripts/clothing/clothing_base.gd"
|
||||
|
||||
func _on_bottoms_pressed():
|
||||
character.bottom = texture_normal
|
||||
GameData.bottom = texture_normal
|
||||
$select.play()
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
extends "res://scripts/clothing/clothing_base.gd"
|
||||
|
||||
func _on_tops_pressed():
|
||||
character.top = texture_normal
|
||||
GameData.top = texture_normal
|
||||
$select.play()
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
extends "res://scripts/clothing/clothing_base.gd"
|
||||
|
||||
func _on_undies_pressed():
|
||||
character.underwear = texture_normal
|
||||
GameData.underwear = texture_normal
|
||||
$select.play()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue