<divclass="block">calculates and returns the preferred size of the level (in pixel) for Y-direction</div>
<divclass="block">calculates and returns the preferred size of the level (in pixel) for Y-direction</div>
</dd>
</dd>
<dt><ahref="../playground/BreakoutLevel1.html#prepareLevel(java.lang.String)"class="member-name-link">prepareLevel(String)</a> - Method in class playground.<ahref="../playground/BreakoutLevel1.html"title="class in playground">BreakoutLevel1</a></dt>
<dt><ahref="../playground/BreakoutLevel1.html#prepareLevel(java.lang.String)"class="member-name-link">prepareLevel(String)</a> - Method in class playground.<ahref="../playground/BreakoutLevel1.html"title="class in playground">BreakoutLevel1</a></dt>
<dd> </dd>
<dd>
<divclass="block">added ego object, ball and rows of bricks to the level.</div>
</dd>
<dt><ahref="../playground/BreakoutLevelBase.html#prepareLevel(java.lang.String)"class="member-name-link">prepareLevel(String)</a> - Method in class playground.<ahref="../playground/BreakoutLevelBase.html"title="class in playground">BreakoutLevelBase</a></dt>
<dt><ahref="../playground/BreakoutLevelBase.html#prepareLevel(java.lang.String)"class="member-name-link">prepareLevel(String)</a> - Method in class playground.<ahref="../playground/BreakoutLevelBase.html"title="class in playground">BreakoutLevelBase</a></dt>
<dd>
<dd>
<divclass="block">Prepares a generic Breakout-Type level.</div>
<divclass="block">Prepares a generic Breakout-Type level.</div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#prepareLevel(java.lang.String)"class="member-name-link">prepareLevel</a><wbr>(<ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> level)</code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="#prepareLevel(java.lang.String)"class="member-name-link">prepareLevel</a><wbr>(<ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> level)</code></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">void</span> <spanclass="element-name">prepareLevel</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> level)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">void</span> <spanclass="element-name">prepareLevel</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> level)</span></div>
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="BreakoutLevelBase.html#prepareLevel(java.lang.String)">BreakoutLevelBase</a></code></span></div>
<divclass="block">Prepares a generic Breakout-Type level. This method relies on the methods <code>BreakoutLevelBase.createEgoObject()</code>,
<code>BreakoutLevelBase.createBall()</code> and <code>BreakoutLevelBase.createBrick(int, int)</code>, among others, which are meant to be overwritten
in subclasses. <br>
Attention: the attributes <code>BreakoutLevelBase.ball</code> and <code>BreakoutLevelBase.ego</code> need to be set properly to GameObject
instances when implementing this method <ahref="BreakoutLevelBase.html#prepareLevel(java.lang.String)"><code>BreakoutLevelBase.prepareLevel(String)</code></a>.</div>
<divclass="block">added ego object, ball and rows of bricks to the level.</div>
<dlclass="notes">
<dlclass="notes">
<dt>Specified by:</dt>
<dt>Specified by:</dt>
<dd><code><ahref="BreakoutLevelBase.html#prepareLevel(java.lang.String)">prepareLevel</a></code> in class <code><ahref="BreakoutLevelBase.html"title="class in playground">BreakoutLevelBase</a></code></dd>
<dd><code><ahref="BreakoutLevelBase.html#prepareLevel(java.lang.String)">prepareLevel</a></code> in class <code><ahref="BreakoutLevelBase.html"title="class in playground">BreakoutLevelBase</a></code></dd>
<dt>Parameters:</dt>
<dt>Parameters:</dt>
<dd><code>level</code> - String passes by the game engine (not used currently and can be ignored).</dd>
<dd><code>level</code> - level String to identify the level.</dd>