Merge pull request #628 from ACrazyTown/patch-1

fix "catagory" misspell
This commit is contained in:
Puyo 2021-05-30 12:10:43 +02:00 committed by GitHub
commit b23b9a6076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@ import flixel.FlxG;
import openfl.display.FPS; import openfl.display.FPS;
import openfl.Lib; import openfl.Lib;
class OptionCatagory class OptionCategory
{ {
private var _options:Array<Option> = new Array<Option>(); private var _options:Array<Option> = new Array<Option>();
public final function getOptions():Array<Option> public final function getOptions():Array<Option>
@ -27,7 +27,7 @@ class OptionCatagory
_options.remove(opt); _options.remove(opt);
} }
private var _name:String = "New Catagory"; private var _name:String = "New Category";
public final function getName() { public final function getName() {
return _name; return _name;
} }

View File

@ -21,8 +21,8 @@ class OptionsMenu extends MusicBeatState
var selector:FlxText; var selector:FlxText;
var curSelected:Int = 0; var curSelected:Int = 0;
var options:Array<OptionCatagory> = [ var options:Array<OptionCategory> = [
new OptionCatagory("Gameplay", [ new OptionCategory("Gameplay", [
new DFJKOption(controls), new DFJKOption(controls),
new DownscrollOption("Change the layout of the strumline."), new DownscrollOption("Change the layout of the strumline."),
new GhostTapOption("Ghost Tapping is when you tap a direction and it doesn't give you a miss."), new GhostTapOption("Ghost Tapping is when you tap a direction and it doesn't give you a miss."),
@ -36,7 +36,7 @@ class OptionsMenu extends MusicBeatState
// new OffsetMenu("Get a note offset based off of your inputs!"), // new OffsetMenu("Get a note offset based off of your inputs!"),
new CustomizeGameplay("Drag'n'Drop Gameplay Modules around to your preference") new CustomizeGameplay("Drag'n'Drop Gameplay Modules around to your preference")
]), ]),
new OptionCatagory("Appearance", [ new OptionCategory("Appearance", [
#if desktop #if desktop
new DistractionsAndEffectsOption("Toggle stage distractions that can hinder your gameplay."), new DistractionsAndEffectsOption("Toggle stage distractions that can hinder your gameplay."),
new RainbowFPSOption("Make the FPS Counter Rainbow"), new RainbowFPSOption("Make the FPS Counter Rainbow"),
@ -49,7 +49,7 @@ class OptionsMenu extends MusicBeatState
#end #end
]), ]),
new OptionCatagory("Misc", [ new OptionCategory("Misc", [
#if desktop #if desktop
new FPSOption("Toggle the FPS Counter"), new FPSOption("Toggle the FPS Counter"),
new ReplayOption("View replays"), new ReplayOption("View replays"),
@ -65,7 +65,7 @@ class OptionsMenu extends MusicBeatState
private var grpControls:FlxTypedGroup<Alphabet>; private var grpControls:FlxTypedGroup<Alphabet>;
public static var versionShit:FlxText; public static var versionShit:FlxText;
var currentSelectedCat:OptionCatagory; var currentSelectedCat:OptionCategory;
var blackBorder:FlxSprite; var blackBorder:FlxSprite;
override function create() override function create()
{ {