WordSearchSafety class

The Word Search puzzle class

Constructors

WordSearchSafety()

Properties

hashCode int
The hash code for this object.
no setterinherited
orientations Map<WSOrientation, WSOrientationFn>
The definition of the orientation, calculates the next square given a starting square (x,y) and distance (i) from that square.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

newPuzzle(List<String> words, WSSettings settings) WSNewPuzzle
Generates a new word find (word search) puzzle.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
solvePuzzle(List<List<String>> puzzle, List<String> words) WSSolved
Returns the starting location and orientation of the specified words within the puzzle. Any words that are not found are returned in the notFound array.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited