mlpcardgame/Scenes/UI/PhaseIcon.gd

8 lines
126 B
GDScript3
Raw Normal View History

2019-05-27 22:58:39 +00:00
extends Node2D
export var phaseID = 0
const iconSize = 80
func _ready():
$Icon.region_rect.position.x = phaseID * iconSize