RandomBlock.step#

RandomBlock.step(action: Action, front_object: Self | None = None, walkable: bool = False) float#

Randomly change grid object color. Available colors are taken from IX_TO_COLOR.