mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 20:17:31 -04:00
add license, move folders
This commit is contained in:
parent
185cc74060
commit
271c4a46a1
132 changed files with 21 additions and 0 deletions
25
app/scripts/resources/gate.gd
Normal file
25
app/scripts/resources/gate.gd
Normal file
|
@ -0,0 +1,25 @@
|
|||
extends Resource
|
||||
class_name Gate
|
||||
|
||||
@export var url: String:
|
||||
set(value): url = Url.fix_gate_url(value)
|
||||
|
||||
@export var title: String
|
||||
@export var description: String
|
||||
@export_file("*.png", "*.jpg") var image: String
|
||||
var resource_pack: String
|
||||
|
||||
# local path where libs downloaded
|
||||
var shared_libs_dir: String
|
||||
|
||||
|
||||
static func create(_url: String, _title: String, _description: String,
|
||||
_image: String, _resource_pack: String, _shared_libs_dir: String) -> Gate:
|
||||
var gate = Gate.new()
|
||||
gate.url = _url
|
||||
gate.title = _title
|
||||
gate.description = _description
|
||||
gate.image = _image
|
||||
gate.resource_pack = _resource_pack
|
||||
gate.shared_libs_dir = _shared_libs_dir
|
||||
return gate
|
Loading…
Add table
Add a link
Reference in a new issue