Multiple Classes In .hxc Files #3065
-
Does anyone know if there is a way to use multiple classes in a .hxc file? Or some way to import classes from other scripts? |
Beta Was this translation helpful? Give feedback.
Answered by
AbnormalPoof
Aug 15, 2024
Replies: 1 comment 1 reply
-
You can, here's an example: import funkin.play.stage.Stage;
import funkin.play.PlayState;
import funkin.audio.FunkinSound;
import funkin.graphics.FunkinSprite;
import funkin.Paths;
import flixel.tweens.FlxTween;
import flixel.tweens.FlxEase;
import flixel.FlxG;
import funkin.Highscore;
import flixel.util.FlxTimer;
class ExpoStage extends Stage {
}
class VocaStage extends Stage {
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lemz1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can, here's an example: