update periphs to not be static
This commit is contained in:
@@ -1,6 +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.
|
||||
public function playSound(name:String, ?volume:Float, ?pitch:Float):Bool; // Plays a sound through the speaker.
|
||||
public function playNote(name:String, ?volume:Float, ?pitch:Float):Bool; // Plays a note block note through the speaker.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user