blob: 040cb065ffa669aee0f85351ba6351acef25d9d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
extends Node
var Options = preload("Events/Options.gd").new()
var Localisation = preload("Events/Localisation.gd").new()
const _province_identifier_file : String = "res://common/map/provinces.json"
const _province_shape_file : String = "res://common/map/provinces.png"
func _ready():
if MapSingleton.load_province_identifier_file(_province_identifier_file) != OK:
push_error("Failed to load province identifiers")
if MapSingleton.load_province_shape_file(_province_shape_file) != OK:
push_error("Failed to load province shapes")
|