ss="element-name">setAlpha</span><wbr><span class="parameters">(double&nbsp;alpha,
 <a href="Curve.html" title="enum class in com.codingame.gameengine.module.entities">Curve</a>&nbsp;curve)</span></div>
<div class="block"><p>
 Sets the alpha of this <code>Entity</code> as a percentage.
 </p>
 1 is opaque and 0 is invisible.
 <p>
 Default is 1.
 </p></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>alpha</code> - the alpha for this <code>Entity</code>.</dd>
<dd><code>curve</code> - the transition to a