mlpcardgame/Scenes/UI/PhaseIcon.gd

8 lines
No EOL
126 B
GDScript

extends Node2D
export var phaseID = 0
const iconSize = 80
func _ready():
$Icon.region_rect.position.x = phaseID * iconSize