-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.gd
45 lines (34 loc) · 872 Bytes
/
main.gd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
extends Node
var matkul = {
"fisika" : 3161,
"aljabar" : 3120,
"inggris" : 3176,
"graph" : 3151,
"matematika " : 3104,
"berkas" : 3208,
"statistik" : 3135,
"jarkom" : 3193,
"struktur" : 3089,
}
func _read():
pass
func _call_url(matkul):
OS.shell_open('https://e-learningab.unpam.ac.id/course/view.php?id='+str(matkul))
func _on_Binggris_pressed():
_call_url(matkul["inggris"])
func _on_Matematika_pressed():
_call_url(matkul["matematika"])
func _on_Aljabar_pressed():
_call_url(matkul["aljabar"])
func _on_SistemBerkas_pressed():
_call_url(matkul["berkas"])
func _on_Jarkom_pressed():
_call_url(matkul["jarkom"])
func _on_Fisika_pressed():
_call_url(matkul["fisika"])
func _on_Graph_pressed():
_call_url(matkul["graph"])
func _on_Statistik_pressed():
_call_url(matkul["statistik"])
func _on_Struktur_pressed():
_call_url(matkul["struktur"])