예제 #1
0
        public static StateLinkList <TState> operator -(StateLinkList <TState> list, TState state)
        {
            StateLinkBase link = state;

            list.list.Remove(link);
            return(list);
        }
예제 #2
0
        public bool Contains(TState state)
        {
            StateLinkBase link = state;

            return(list.Contains(link));
        }
예제 #3
0
        public void Add(TState state)
        {
            StateLinkBase link = state;

            list.Add(link);
        }
예제 #4
0
        public void Insert(int index, TState state)
        {
            StateLinkBase link = state;

            list.Insert(index, link);
        }
예제 #5
0
        public void Remove(TState state)
        {
            StateLinkBase link = state;

            list.Remove(link);
        }