1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-26 15:07:14 +00:00
Funkin/source/funkin/play/notes/notekind/NoteKindScript.hx
2024-07-12 02:13:10 -04:00

46 lines
1,014 B
Haxe

package funkin.play.notes.notekind;
import funkin.modding.IScriptedClass.INoteScriptedClass;
import funkin.modding.events.ScriptEvent;
/**
* Class for note scripts
*/
class NoteKindScript implements INoteScriptedClass
{
/**
* the name of the note kind
*/
public var noteKind:String;
/**
* description used in chart editor
*/
public var description:String = "";
public function new(noteKind:String, description:String = "")
{
this.noteKind = noteKind;
this.description = description;
}
public function toString():String
{
return noteKind;
}
public function onScriptEvent(event:ScriptEvent):Void {}
public function onCreate(event:ScriptEvent):Void {}
public function onDestroy(event:ScriptEvent):Void {}
public function onUpdate(event:UpdateScriptEvent):Void {}
public function onNoteIncoming(event:NoteScriptEvent):Void {}
public function onNoteHit(event:HitNoteScriptEvent):Void {}
public function onNoteMiss(event:NoteScriptEvent):Void {}
}