t the vignette "How to create an environment?".</p>
    
    <h2 class="hasAnchor" id="methods"><a class="anchor" href="#methods"></a>Methods</h2>

    
    <ul>
<li><p><code>$step(action)</code> 
Take action in environment.
Returns a list with <code>state</code>, <code>reward</code>, <code>done</code>.</p></li>
<li><p><code>$reset()</code> 
Resets the <code>done</code> flag of the environment and returns an initial state.
Useful when starting a new episode.</p></li>
<li><p><code>$visualize()</code> 
Visual