refactor roomsize to var
add get/set for mapArray