21 lines
523 B
C++
21 lines
523 B
C++
#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();
|
|
}
|