untap/tabletop.gd
2025-04-24 13:20:57 -04:00

25 lines
558 B
GDScript

extends Node2D
var player_class = preload("res://player.gd")
var deck_input = preload("res://deck_input.gd")
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
# TODO: Create 2-4 player instances as children of this tabletop node.
var player = player_class.new()
add_child(player)
move_child(player, 0)
var deck = deck_input.new()
add_child(deck)
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta: float) -> void:
pass