Skip to content

Commit

Permalink
Just organized packages.
Browse files Browse the repository at this point in the history
Just organized packages.
  • Loading branch information
TheGaloXx committed Apr 21, 2024
1 parent 10147bc commit bdf5f1b
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 15 deletions.
2 changes: 1 addition & 1 deletion source/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Discord.DiscordClient;
import sys.FileSystem;
import sys.io.File;
import haxe.CallStack;
import substates.Start;
import states.Start;
import funkin.FunkinGame;
import openfl.Lib;
import data.GlobalData;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package substates;
package debug;

import data.GlobalData;
import funkin.MusicBeatState;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package substates;
package options;

import options.OptionsMenu;
import data.GlobalData;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package states;
package options;

/// Code created by Rozebud for FPS Plus (thanks rozebud)
// modified by KadeDev for use in Kade Engine/Tricky
Expand Down
2 changes: 0 additions & 2 deletions source/options/OptionsMenu.hx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import flixel.util.FlxColor;
import flixel.text.FlxText;
import openfl.Lib;
import states.LanguageState;
import substates.EraseData;
import states.KeyBindMenu;
import objects.SoundSetting;
import states.PlayState;
import states.MainMenuState;
Expand Down
5 changes: 3 additions & 2 deletions source/substates/AntiLeaks.hx → source/states/AntiLeaks.hx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package substates;
package states;

import data.GlobalData;
import flixel.FlxG;
import flixel.util.FlxTimer;

Expand Down Expand Up @@ -36,7 +37,7 @@ class AntiLeaks extends funkin.MusicBeatState //I think i have to add this becau

new FlxTimer().start(1, function(_)
{
funkin.MusicBeatState.switchState(new substates.Caching());
funkin.MusicBeatState.switchState(new states.Caching());
});
}
}
Expand Down
3 changes: 1 addition & 2 deletions source/substates/Caching.hx → source/states/Caching.hx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package substates;
package states;

import flixel.FlxG;
import flixel.graphics.FlxGraphic;
import funkin.MusicBeatState;
import states.TitleState;

using StringTools;

Expand Down
3 changes: 1 addition & 2 deletions source/states/PlayState.hx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package states;

import debug.StageDebug;
import debug.ChartingState;
import debug.AnimationDebug;

import flixel.*;
Expand All @@ -13,7 +14,6 @@ import flixel.util.FlxSort;
import flixel.util.FlxTimer;
import flixel.text.FlxText;
import flixel.math.FlxMath;
import flixel.math.FlxRect;
import flixel.math.FlxAngle;
import flixel.math.FlxPoint;
import flixel.tweens.FlxEase;
Expand All @@ -22,7 +22,6 @@ import flixel.sound.FlxSound;
import flixel.input.keyboard.FlxKey;
import flixel.addons.transition.FlxTransitionableState;

import substates.ChartingState;
import substates.GameOverSubstate;
import substates.CustomFadeTransition;

Expand Down
6 changes: 3 additions & 3 deletions source/substates/Start.hx → source/states/Start.hx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package substates;
package states;

import Discord.DiscordClient;
import lime.app.Application;
Expand All @@ -14,8 +14,8 @@ class Start extends MusicBeatState
{
initShit();

// MusicBeatState.switchState(new substates.AntiLeaks());
MusicBeatState.switchState(new substates.Caching());
// MusicBeatState.switchState(new states.AntiLeaks());
MusicBeatState.switchState(new states.Caching());

super.create();
}
Expand Down

0 comments on commit bdf5f1b

Please sign in to comment.