Class: Wall

Maze~Wall(enabledopt)

Helper class used to describe the one of the four walls in a Box.

Constructor

new Wall(enabledopt)

Create a wall in a given Box

Parameters:
Name Type Attributes Default Description
enabled boolean <optional>
true

The visibility of the wall within the Box.

Source:

Members

enabled

Properties:
Name Type Description
enabled boolean

Visibility of the wall.

Source:

Methods

toggle(enabled)

Toggle functionality to turn the visibility of the wall on or off.

Parameters:
Name Type Description
enabled boolean

Visibility of the wall

Source: