COandXEngine Class Reference

List of all members.

Public Member Functions

virtual ~COandXEngine ()
void Reset ()
TTileState TileStatus (TInt aIndex) const
TBool TryMakeMove (TInt aIndex, TBool aCrossTurn)
TTileState GameWonBy () const
void ExternalizeL (RWriteStream &aStream) const
void InternalizeL (RReadStream &aStream)
void Reset ()
TTileState TileStatus (TInt aIndex) const
TBool TryMakeMove (TInt aIndex, TBool aCrossTurn)
TTileState GameWonBy () const
void ExternalizeL (RWriteStream &aStream) const
void InternalizeL (RReadStream &aStream)

Static Public Member Functions

static COandXEngineNewL ()
static COandXEngineNewL ()

Detailed Description

This engine class represents the board, a grid of tiles which can be modified by the controller.

Definition at line 24 of file oandxengine.h.


Constructor & Destructor Documentation

COandXEngine::~COandXEngine (  )  [virtual]

Member Function Documentation

COandXEngine * COandXEngine::NewL (  )  [static]

Factory function allocates new instance of COandXEngine.

Returns:
New game engine, which is owned by the caller. On return every tile is marked as blank, which is useful for rendering, although a game has not been started yet.

Definition at line 23 of file oandxengine.cpp.

void COandXEngine::Reset (  ) 
TTileState COandXEngine::TileStatus ( TInt  aIndex  )  const
TBool COandXEngine::TryMakeMove ( TInt  aIndex,
TBool  aCrossTurn 
)
TTileState COandXEngine::GameWonBy (  )  const
void COandXEngine::ExternalizeL ( RWriteStream &  aStream  )  const
void COandXEngine::InternalizeL ( RReadStream &  aStream  ) 

Generated by  doxygen 1.6.2