Companion object for Cell, providing convenient factory methods and operators.
Attributes
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Represents a light cell in the grid.
Represents a light cell in the grid.
Attributes
- Returns
-
the light cell.
Represents an empty cell in the grid.
Represents an empty cell in the grid.
Attributes
- Returns
-
the empty cell.
Represents a robot cell in the grid that always moves forward.
Represents a robot cell in the grid that always moves forward.
Attributes
- Returns
-
the robot cell.
Represents a robot cell in the grid that uses prioritized behavior.
Represents a robot cell in the grid that uses prioritized behavior.
Attributes
- Returns
-
the robot cell.
Represents a robot cell in the grid that avoids obstacles.
Represents a robot cell in the grid that avoids obstacles.
Attributes
- Returns
-
the robot cell.
Represents a robot cell in the grid that moves towards light sources.
Represents a robot cell in the grid that moves towards light sources.
Attributes
- Returns
-
the robot cell.
Represents a robot cell in the grid that walks randomly.
Represents a robot cell in the grid that walks randomly.
Attributes
- Returns
-
the robot cell.
Represents an obstacle cell in the grid.
Represents an obstacle cell in the grid.
Attributes
- Returns
-
the obstacle cell.