Example #1
0
        private OBJECT_TYPES GetImageIndex(string objectClass)
        {
            OBJECT_TYPES ret = OBJECT_TYPES.DEFAULT;

            object temp = OBJECT_TYPES.DEFAULT;

            if (objectClass.EnumTryParse(typeof(OBJECT_TYPES), out temp))
            {
                ret = (OBJECT_TYPES)temp;
            }

            return(ret);
        }
Example #2
0
 private bool isTouched(OBJECT_TYPES type)
 {
     return(m_touched[type]);
 }
Example #3
0
 public void Touch(OBJECT_TYPES type)
 {
     m_touched[type] = true;
 }