new command resetAnimations, moves AddToAllowAnimations to Animation namespace.
This commit is contained in:
parent
01b020fcec
commit
654fe441cd
2 changed files with 13 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
namespace BSB.Commands.Self
|
namespace BSB.Commands.Animation
|
||||||
{
|
{
|
||||||
public class AddToAllowAnimations : CoreCommand_1arg
|
public class AddToAllowAnimations : CoreCommand_1arg
|
||||||
{
|
{
|
||||||
12
Core/Commands/Animation/resetAnimations.cs
Normal file
12
Core/Commands/Animation/resetAnimations.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
namespace BSB.Commands.Animation
|
||||||
|
{
|
||||||
|
public class ResetAnimations : CoreCommand
|
||||||
|
{
|
||||||
|
public override string Helpfile { get { return "Resets the animation stack for the bot"; } }
|
||||||
|
public override bool CallFunction(string[] args)
|
||||||
|
{
|
||||||
|
bot.ResetAnimations();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue