ScummVM API documentation
VCruise::CircuitPuzzle Class Reference

Classes

struct  CellRectSpec
 

Public Types

enum  CellDirection { kCellDirectionRight, kCellDirectionDown }
 
enum  Conclusion { kConclusionNone, kConclusionPlayerWon, kConclusionPlayerLost }
 

Public Member Functions

 CircuitPuzzle (int layout)
 
bool executeAIAction (Common::RandomSource &randomSource, Common::Point &outCoord, CellDirection &outBlockDirection)
 
void addLink (const Common::Point &coord, CellDirection direction)
 
Conclusion checkConclusion () const
 
const CellRectSpecgetCellRectSpec (const Common::Point &coord) const
 
bool isCellDownLinkOpen (const Common::Point &coord) const
 
bool isCellRightLinkOpen (const Common::Point &coord) const
 

Static Public Attributes

static const uint kBoardWidth = 6
 
static const uint kBoardHeight = 5
 

The documentation for this class was generated from the following file: