Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

HexEnvironment Struct Reference

Groups a HexBoard, ICEngine, and VCBuilderParam objects, which correspond to a set of parameters that can be changed. More...

#include <HexEnvironment.hpp>

List of all members.

Public Member Functions

 HexEnvironment (int width, int height)
void NewGame (int width, int height)
HexBoardSyncBoard (const StoneBoard &brd)

Public Attributes

ICEngine ice
VCBuilderParam buildParam
boost::scoped_ptr< HexBoardbrd

Detailed Description

Groups a HexBoard, ICEngine, and VCBuilderParam objects, which correspond to a set of parameters that can be changed.

Definition at line 19 of file HexEnvironment.hpp.


Constructor & Destructor Documentation

HexEnvironment::HexEnvironment ( int  width,
int  height 
)

Definition at line 12 of file HexEnvironment.cpp.

References brd, buildParam, and ice.


Member Function Documentation

void HexEnvironment::NewGame ( int  width,
int  height 
)

Todo:
Make board resizable? Until then, make sure all HexBoard parameters are copied here!

Definition at line 18 of file HexEnvironment.cpp.

References brd, buildParam, and ice.

Referenced by BenzeneHtpEngine::NewGame().

HexBoard & HexEnvironment::SyncBoard ( const StoneBoard brd  ) 

Member Data Documentation

boost::scoped_ptr<HexBoard> HexEnvironment::brd

Definition at line 29 of file HexEnvironment.hpp.

Referenced by HexEnvironment(), and NewGame().


The documentation for this struct was generated from the following files:


6 Jan 2011 Doxygen 1.6.3