Exemplo n.º 1
0
    public override void Execute(BattleObject actor, GameAction action)
    {
        int  frameNumber = (int)GetArgument("frameNumber", actor, action, 1);
        bool relative    = (bool)GetArgument("relative", actor, action, false);

        action.ChangeFrame(frameNumber, relative);
    }
    public override void Execute(BattleObject actor, GameAction action)
    {
        base.Execute(actor, action);
        int  frame    = (int)GetArgument("frame", actor, action, 1);
        bool relative = (bool)GetArgument("relative", actor, action, true);

        action.ChangeFrame(frame, relative);
    }