# Each view gets drawn every single frame. Have little to no logic in here. # Never EVER call Entity#draw directly. The Entity's renderer will take care of that for us. @logo.position x: @window.position.center.x, y: @logo.height + 10 # Or - @logo.position = { x: @window.position.center.x, y: @logo.height + 10 } @main_menu_list_items.each_with_index do |main_menu_list_item, index| main_menu_list_item.position.center_at x: @window.position.center.x main_menu_list_item.position.y = (index + 1) * @main_menu_list_item.size.height end