Exemple #1
0
        public ObjectEvtManager(ConsoleBotInstance botInstance)
        {
            m_botInstance = botInstance;
            m_GridClient = botInstance.Client;

            m_rotation = m_GridClient.Self.SimRotation;

            if (m_GridClient != null)
            {
                RegisterEventHandler();
            }

            m_ir = new IntentionRecogniser(botInstance);
            m_PosDest = new Vector3(NOINIT, NOINIT, NOINIT);
            m_oldPos = new Vector3(NOINIT, NOINIT, NOINIT);
        }
Exemple #2
0
        public ObjectEvtManager(ConsoleBotInstance botInstance)
        {
            m_botInstance = botInstance;
            m_GridClient  = botInstance.Client;

            m_rotation = m_GridClient.Self.SimRotation;

            if (m_GridClient != null)
            {
                RegisterEventHandler();
            }

            m_ir      = new IntentionRecogniser(botInstance);
            m_PosDest = new Vector3(NOINIT, NOINIT, NOINIT);
            m_oldPos  = new Vector3(NOINIT, NOINIT, NOINIT);
        }