diff options
Diffstat (limited to 'shiftos_next/shiftorium_api.vb')
| -rw-r--r-- | shiftos_next/shiftorium_api.vb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shiftos_next/shiftorium_api.vb b/shiftos_next/shiftorium_api.vb index 3920e0d..39960e4 100644 --- a/shiftos_next/shiftorium_api.vb +++ b/shiftos_next/shiftorium_api.vb @@ -1,6 +1,7 @@ Module shiftorium_api 'API for Shiftorium Applications. + Public listboxtoaddto As ListBox Public codepoints As Integer Public Sub DeductCP(ammount As Integer) @@ -12,4 +13,9 @@ codepoints += ammount savegame() End Sub + + Public Sub AddItem(name As String, CP As Integer) + listboxtoaddto.Items.Add(name & " - " & CP & " CP") + End Sub + End Module |
