adding cs235
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#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();
|
||||
}
|
||||
Reference in New Issue
Block a user