Skip to content

Commit

Permalink
Dats crazy
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackx2 committed Mar 27, 2024
1 parent 43d159c commit 6c5cfea
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gitVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.1
0.2.2
2 changes: 1 addition & 1 deletion source/backend/data/EngineData.hx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ using StringTools;

//** Other Shit **/
public static var mainCoreShit = {
coreVersion: '0.2.1',
coreVersion: '0.2.2',
colorMenuImage: 0xff525252,
mainRepo: "https://github.com/Hackx2/FNF-AstroEngine",
}
Expand Down
5 changes: 5 additions & 0 deletions source/backend/system/MusicBeatState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ class MusicBeatState extends FlxUIState
}
FlxTransitionableState.skipNextTransOut = false;
}

public function addBehindObject(obj:FlxBasic, obj2:FlxBasic)
return insert(members.indexOf(obj2), obj);
public function addAheadObject(obj:FlxBasic, obj2:FlxBasic)
return insert(members.indexOf(obj2) + 1, obj);

override function update(elapsed:Float)
{
Expand Down
5 changes: 5 additions & 0 deletions source/backend/system/MusicBeatSubstate.hx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ class MusicBeatSubstate extends FlxSubState

inline function get_controls():Controls
return PlayerSettings.player1.controls;

public function addBehindObject(obj:FlxBasic, obj2:FlxBasic)
return insert(members.indexOf(obj2), obj);
public function addAheadObject(obj:FlxBasic, obj2:FlxBasic)
return insert(members.indexOf(obj2) + 1, obj);

override function update(elapsed:Float)
{
Expand Down

0 comments on commit 6c5cfea

Please sign in to comment.