ORKTowerOfHanoiResult Class Reference
| Inherits from | ORKResult : NSObject |
|---|---|
| Declared in | ORKTowerOfHanoiResult.h ORKTowerOfHanoiResult.m |
Overview
The ORKTowerOfHanoiResult class records the results of a Tower of Hanoi active task.
An ORKTowerOfHanoiResult object records an array of ORKTowerOfHanoiMove objects (one for each move)
and a Boolean value representing whether the puzzle was solved or not.
An ORKTowerOfHanoiResult object is typically generated by the framework as the task proceeds. When the task
completes, it may be appropriate to serialize it for transmission to a server
or to immediately perform analysis on it.
puzzleWasSolved
A Boolean value indicating whether the puzzle was solved.
@property (nonatomic, assign) BOOL puzzleWasSolvedDiscussion
The value of this property is YES when the puzzle was solved and NO otherwise.
Declared In
ORKTowerOfHanoiResult.h
moves
An array of moves, in which each item is an ORKTowerOfHanoiMove object that represents a move.
@property (nonatomic, copy, nullable) NSArray<ORKTowerOfHanoiMove*> *movesDeclared In
ORKTowerOfHanoiResult.h