update
This commit is contained in:
6
src/cc/periphs/Speaker.hx
Normal file
6
src/cc/periphs/Speaker.hx
Normal file
@@ -0,0 +1,6 @@
|
||||
package cc.periphs;
|
||||
|
||||
extern class Speaker {
|
||||
public static function playSound(name:String, ?volume:Float, ?pitch:Float):Bool; // Plays a sound through the speaker.
|
||||
public static function playNote(name:String, ?volume:Float, ?pitch:Float):Bool; // Plays a note block note through the speaker.
|
||||
}
|
||||
Reference in New Issue
Block a user