Exemplo n.º 1
0
        private CommandIntentions m_intentions; //A permission type system could implement this and know what a command intends on doing.

        public Command(string name, CommandIntentions intention, Action <Object[]> command, string help)
        {
            m_name       = name;
            m_command    = command;
            m_help       = help;
            m_intentions = intention;
        }
Exemplo n.º 2
0
        private CommandIntentions m_intentions; //A permission type system could implement this and know what a command intends on doing.

        public Command(string name, CommandIntentions intention, Action<Object[]> command, string help)
        {
            m_name = name;
            m_command = command;
            m_help = help;
            m_intentions = intention;
        }