Files
turnbasedstrategygame/Scenes/Main/main.gd

15 lines
364 B
GDScript

extends Node
@onready var _Map = $Map
@onready var _Player = $Player
@onready var _Camera = $WorldCamera
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
_Map.populate_terrain(_Camera.global_position)
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass