If it doesn't create an insane number of entries, ...
# gamedev
s
If it doesn't create an insane number of entries, you could have the walls be an entity, with position, collision culminates l components and all that and treat it as any other entity, in your collision system