public bool ReturnState(DestructibleObject obj)
        {
            ObjState tempState = ReturnObjState(obj);

            if (tempState != null)
            {
                return(tempState.state);
            }
            else
            {
                return(false);
            }
        }
        public void UpdateObject(DestructibleObject obj, bool newState)
        {
            ObjState tempState = ReturnObjState(obj);

            if (tempState != null)
            {
                ReturnObjState(obj).state = newState;
            }
            else
            {
                RegisterObject(obj, newState);
            }
            if (checkList.Count > 0)
            {
                CleanDatabase();
            }
        }