Esempio n. 1
0
    } // end of loadState

    /*
     * prints all the states in a message
     */
    public string printStates()
    {
        string m = "";

        for (int i = 0; i < states.Count; i++)
        {
            ObjectState state = (ObjectState)states[i];
            if (i != states.Count - 1)
            {
                m = m + state.printState() + "\r\n";
            }
            else
            {
                m = m + state.printState();
            }
        }
        return(m);
    } // end of printStates