one implementation of the exam
This commit is contained in:
16
cpp_module_02/BrickWall.hpp
Normal file
16
cpp_module_02/BrickWall.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef BRICKWALL_HPP
|
||||
# define BRICKWALL_HPP
|
||||
|
||||
# include "ATarget.hpp"
|
||||
|
||||
class BrickWall: public ATarget {
|
||||
public:
|
||||
BrickWall(): ATarget("Inconspicuous Red-brick Wall") {};
|
||||
~BrickWall() {};
|
||||
|
||||
virtual ATarget * clone() const {
|
||||
return (new BrickWall());
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user