get_pkg_env {karel} | R Documentation |
Get Karel's environment
Description
This function returns the environment called pkg_env created by the package. It's useful for debugging and checking. It's an internal function.
Usage
get_pkg_env()
Details
pkg_env
is an environment created inside the package to store
and share between functions all the objects related to Karel's world and
its state. Since the functions that will be used by the students should be
simple and without arguments (for example, move()
), these functions
modify internally pkg_env
.
The components of this environment are:
-
nx
: TODO -
ny
: -
hor_walls
: -
ver_walls
: -
open_moves
: -
karel
: -
dir_now
: -
x_now
: -
y_now
: -
moment
: -
beepers_any
: -
beepers_bag
: -
beepers_now
: -
beepers_all
: -
base_plot
:
Value
An enviroment with objects that represent Karel's world.
[Package karel version 0.1.1 Index]