19 lines
595 B
GDScript3
19 lines
595 B
GDScript3
|
class_name LevelDescriptor extends Resource
|
||
|
|
||
|
enum GameMode {FREERUN, HUB, MISSION}
|
||
|
|
||
|
@export var id: StringName
|
||
|
@export var name: String
|
||
|
@export var scene_path: String
|
||
|
@export var color: Color
|
||
|
@export var bgm: AudioStream
|
||
|
@export var fx: ScreenEffectsConfiguration
|
||
|
@export var game_modes_supported: Array[GameMode] = [
|
||
|
GameMode.FREERUN, GameMode.MISSION
|
||
|
]
|
||
|
@export var missions: Array[MissionDescriptor]
|
||
|
@export var characters_allowed: Array[StringName] = CharacterProfile.ALL
|
||
|
@export var connections: Array[MapConnection]
|
||
|
@export var fast_travel_entrance: StringName
|
||
|
@export var icon: Texture2D
|