1
0
Fork 0
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:
Tony Bark 2021-06-04 11:25:35 -04:00
parent ec79a57f96
commit e90a500858
18 changed files with 153 additions and 168 deletions

View file

@ -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()

View file

@ -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()

View file

@ -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()

View file

@ -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()