BcPOC
SF-HRP ASM implementation
D:/bcatch/bcpoc_src/bcpoc/src/sfhrp/SFHRP/init_phase.hpp
Go to the documentation of this file.
00001 #ifndef INIT_PHASE
00002 #define INIT_PHASE
00003 
00004 #include <vector>
00005 #include <string>
00006 
00007 #include "i_engine_descriptor.hpp"
00008 
00009 class InitPhase {
00010 public:
00011         //ctor
00012         InitPhase( IEngineDescriptor*, std::vector< std::string> &);
00013 
00014         //dtor
00015         //~InitPhase();
00016 
00017         //execute one engine cycle
00018         int GetAction();
00019 
00020         //has items been gathered
00021         bool Ended();
00022 
00023 protected:
00024         
00025         typedef std::vector< std::pair< std::string, bool> > item_list;
00026         //items list
00027         item_list m_items;
00028 
00029         //enine descriptor
00030         IEngineDescriptor* m_engine;
00031 
00032 };
00033 
00034 #endif
00035