update periphs to not be static

This commit is contained in:
Ramon Gonzalez Fernandez
2021-04-12 13:38:27 -04:00
parent 3faf729045
commit dcad97c81b
10 changed files with 79 additions and 78 deletions

View File

@@ -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.
}