Beispiel #1
0
    public override void Execute(BattleObject obj, GameAction action)
    {
        base.Execute(obj, action);
        string name    = (string)GetArgument("name", obj, action);
        int    centerx = (int)GetArgument("centerx", obj, action);
        int    centery = (int)GetArgument("centery", obj, action);

        obj.GetAnchorPoint(name).MoveAnchorPixel(centerx, centery);
    }