)
bar.shape = love.physics.newPolygonShape(<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">20</span>, <span class="hljs-number">400</span>, <span class="hljs-number">20</span>, <span class="hljs-number">400</span>, <span class="hljs-number">0</span>)
bar.fixture = love.physics.newFixture(bar.body, bar.shape)

<span class="hljs-keyword">return</span> bar
</code></pre>
<p>Now our <strong>main.lua</strong> should only contain