-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...nkin/modding/base/ScriptedFunkinSprite.hx → ...e/funkin/graphics/ScriptedFunkinSprite.hx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package funkin.modding.base; | ||
package funkin.graphics; | ||
|
||
/** | ||
* A script that can be tied to a FunkinSprite. | ||
* Create a scripted class that extends FunkinSprite to use this. | ||
*/ | ||
@:hscriptClass | ||
class ScriptedFunkinSprite extends funkin.graphics.FunkinSprite implements HScriptedClass {} | ||
class ScriptedFunkinSprite extends funkin.graphics.FunkinSprite implements polymod.hscript.HScriptedClass {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package funkin.modding.base; | ||
|
||
/** | ||
* An empty base class meant to be extended by scripts. | ||
*/ | ||
|
||
class Object { | ||
public function new() {} | ||
|
||
public function toString():String { | ||
return "(Object)"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package funkin.modding.base; | ||
|
||
/** | ||
* A script that can be tied to an FlxBasic. | ||
* Create a scripted class that extends FlxBasic to use this. | ||
*/ | ||
@:hscriptClass | ||
class ScriptedFlxBasic extends flixel.FlxBasic implements HScriptedClass {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package funkin.modding.base; | ||
|
||
/** | ||
* A script that can be tied to an FlxObject. | ||
* Create a scripted class that extends FlxObject to use this. | ||
*/ | ||
@:hscriptClass | ||
class ScriptedFlxObject extends flixel.FlxObject implements HScriptedClass {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package funkin.modding.base; | ||
|
||
/** | ||
* A script that can be tied to an Object (empty base class). | ||
* Create a scripted class that extends Object to use this. | ||
*/ | ||
@:hscriptClass | ||
class ScriptedObject extends funkin.modding.base.Object implements HScriptedClass {} |
4 changes: 2 additions & 2 deletions
4
...in/modding/base/ScriptedMusicBeatState.hx → source/funkin/ui/ScriptedMusicBeatState.hx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package funkin.modding.base; | ||
package funkin.ui; | ||
|
||
/** | ||
* A script that can be tied to a MusicBeatState. | ||
* Create a scripted class that extends MusicBeatState to use this. | ||
*/ | ||
@:hscriptClass | ||
class ScriptedMusicBeatState extends funkin.ui.MusicBeatState implements HScriptedClass {} | ||
class ScriptedMusicBeatState extends funkin.ui.MusicBeatState implements polymod.hscript.HScriptedClass {} |
4 changes: 2 additions & 2 deletions
4
...modding/base/ScriptedMusicBeatSubState.hx → ...ce/funkin/ui/ScriptedMusicBeatSubState.hx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package funkin.modding.base; | ||
package funkin.ui; | ||
|
||
/** | ||
* A script that can be tied to a MusicBeatSubState. | ||
* Create a scripted class that extends MusicBeatSubState to use this. | ||
*/ | ||
@:hscriptClass | ||
class ScriptedMusicBeatSubState extends funkin.ui.MusicBeatSubState implements HScriptedClass {} | ||
class ScriptedMusicBeatSubState extends funkin.ui.MusicBeatSubState implements polymod.hscript.HScriptedClass {} |