Here is the definition of dwelling to which the castle doctrine statute applies: (2) Dwelling means a building or conveyance of any kind that has a roof over it and that is designed to be occupied by people lodging in the building or conveyance at night, regardless of whether the building or conveyance is temporary or permanent or is mobile or immobile.