Esempio n. 1
0
        public static SafeAction operator -(SafeAction a, Action b)
        {
            SafeAction res = new SafeAction();

            res.act = a.act - b;
            return(res);
        }
Esempio n. 2
0
        public static SafeAction operator +(SafeAction a, Action b)
        {
            a.act -= b;
            SafeAction res = new SafeAction();

            res.act = a.act + b;

            return(res);
        }