12 lines
316 B
GDScript
12 lines
316 B
GDScript
class_name Scanners
|
|
extends Node2D
|
|
|
|
func _ready():
|
|
for sprite in [$Water, $Fertility, $Data]:
|
|
sprite.texture = GameTerrain.get_texture()
|
|
sprite.scale = Vector2(GameTerrain.MAP_RATIO,GameTerrain.MAP_RATIO,)
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta):
|
|
pass
|