Implementation of GridModel sans call to GridGenerator and isConnected
Implements all methods of GridModel except isConnectedFromRow:col:toRow:col:, and initWithLevelNumber.
Adding Queue Data Structure
Added a Queue data structure as Objective-C does not provide one.
Completed isConnected
isConnectedFromRow:col:toRow:col: is completed. Implements a BFS to check connections from the "from" cell, until all connections are exhausted or the "to" cell is reached.
Merge branch 'developLocal' into gridModel
Fixing merge conflict, completing local merge
Completing implementation of GridModel by linking with CellModel and GridGenerator
GridModel now calls GridGenerator when initializing. Calls to CellModel will now be correct, as the implementation of CellModel is merged in.
Temp commit
Testing for GridModel
Added tests for GridModel initialization, rotating, querying for start and goal, connection finding. Added methods to GridGenerator and GridModel to ease testing by initializing from a string and grid, respectively. Tested interface for querying CellModel for openings directly and indirectly. Changed ViewController initialization of level to query for level 0 to prevent crash while only level 0 is defined.
Tested: iOS Simulator.
Testing for GridModel
Added tests for GridModel initialization, rotating, querying for start and goal, connection finding. Added methods to GridGenerator and GridModel to ease testing by initializing from a string and grid, respectively. Tested interface for querying CellModel for openings directly and indirectly. Changed ViewController initialization of level to query for level 0 to prevent crash while only level 0 is defined.
Tested: iOS Simulator.
Merge remote-tracking branch 'origin/gridModel' into gridModel
Initialization correction.
Added isStartConnectedToGoal to GridModel interface.
Return NO instead of nil for a BOOL function
Merge pull request #7 from zsweedyk/gridModel

Grid model