aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS/Helper.vb
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS/Helper.vb')
-rw-r--r--ShiftOS/Helper.vb7
1 files changed, 7 insertions, 0 deletions
diff --git a/ShiftOS/Helper.vb b/ShiftOS/Helper.vb
index 167665c..29799eb 100644
--- a/ShiftOS/Helper.vb
+++ b/ShiftOS/Helper.vb
@@ -6,4 +6,11 @@
Public Sub setCP(points As Integer) 'Set the CP
ShiftOSDesktop.codepoints = points
End Sub
+
+ Public Sub removeCP(points As Integer)
+ ShiftOSDesktop.codepoints = ShiftOSDesktop.codepoints - points
+ End Sub
+ Public Sub playSound(path As String, playMode As AudioPlayMode)
+ My.Computer.Audio.Play(path, playMode)
+ End Sub
End Class