new command resetAnimations, moves AddToAllowAnimations to Animation namespace.

This commit is contained in:
Madpeter 2020-07-29 14:19:10 +01:00
parent 01b020fcec
commit 654fe441cd
2 changed files with 13 additions and 1 deletions

View file

@ -1,4 +1,4 @@
namespace BSB.Commands.Self
namespace BSB.Commands.Animation
{
public class AddToAllowAnimations : CoreCommand_1arg
{

View 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;
}
}
}