plot_static_world: Plot the world at a given time

View source: R/helpers.R

plot_static_worldR Documentation

Plot the world at a given time

Description

This function plots Karel'w wort at the requested time. Initially, time is 1 and with each action that Karel performs, time is incremented by one. Current time is stored in pkg_env$moment. This function is useful for debuggint and to get static images to be used in the examples in the handouts for studentes.

Usage

plot_static_world(time)

Arguments

time

The requested time

Value

Prints the plot.


karel documentation built on March 27, 2022, 1:05 a.m.