school/cs235/lab02/Student_Code/Factory.cpp

21 lines
523 B
C++
Raw Normal View History

2016-04-06 20:46:10 -07:00
#include "Factory.h"
#include "circle.h"
//You may add #include statments here
/*
You will MODIFY THIS DOCUMENT.
*/
//=======================================================================================
/*
getGame()
Creates and returns an object whose class extends JosephusInterface.
This should be an object of a class you have created.
Example: If you made a class called "Circle", you might say, "return new Circle();".
*/
JosephusInterface * Factory::getGame()
{
return new circle();
}