school/cs235/lab07/Factory.cpp

22 lines
676 B
C++
Raw Normal View History

2016-04-06 20:46:10 -07:00
#include "Factory.h"
//You may add #include statments here
using namespace std;
/*
Unlike all other documents provided, you may modify this document slightly (but do not change its name)
*/
//=======================================================================================
/*
createMimic()
Creates and returns an object whose class extends MimicInterface.
This should be an object of a class you have created.
Example: If you made a class called "Mimic", you might say, "return new Mimic();".
*/
MimicInterface* Factory::createMimic()
{
return NULL;//Modify this line
}
//=======================================================================================