free skill option
This commit is contained in:
@ -553,6 +553,22 @@ class OffsetMenu extends Option
|
||||
return "Time your offset";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
class BotPlay extends Option
|
||||
{
|
||||
public function new(desc:String)
|
||||
{
|
||||
super();
|
||||
description = desc;
|
||||
}
|
||||
|
||||
public override function press():Bool
|
||||
{
|
||||
FlxG.save.data.botplay = !FlxG.save.data.botplay;
|
||||
trace('BotPlay : ' + FlxG.save.data.botplay);
|
||||
display = updateDisplay();
|
||||
return true;
|
||||
}
|
||||
|
||||
private override function updateDisplay():String
|
||||
return "BotPlay " + (FlxG.save.data.botplay ? "on" : "off");
|
||||
}
|
Reference in New Issue
Block a user