// sub.h #ifndef SUB_H #define SUB_H #include #include "utility.h" #include "target.h" namespace Seahunt { class Sub : public Target { public: static Sub * Create ( void ); static Sub * Create ( std::string name, int armor, int maxdepth ); ~Sub(); void Show( void ) const; bool Hit( void ); void Abstract ( void ){} private: Sub ( std::string name, int armor, int maxdepth ); }; } // namespace Seahunt #endif