shiftos-next/shiftos_next/APIs/shiftorium_api.vb

22 lines
482 B
VB.net
Raw Permalink Normal View History

Module shiftorium_api
'API for Shiftorium Applications.
Public listboxtoaddto As ListBox
Public codepoints As Integer
Public Sub DeductCP(ammount As Integer)
codepoints -= ammount
savegame()
End Sub
Public Sub AddCP(ammount As Integer)
codepoints += ammount
savegame()
End Sub
Public Sub AddItem(name As String, CP As Integer)
listboxtoaddto.Items.Add(name & " - " & CP & " CP")
End Sub
End Module