예제 #1
0
        public static SafeAction operator -(SafeAction a, Action b)
        {
            SafeAction res = new SafeAction();

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

            res.act = a.act + b;

            return(res);
        }