school/cs235/lab06/Factory.h
2016-04-06 20:46:10 -07:00

22 lines
603 B
C++

#include "MazeInterface.h"
#pragma once
/*
WARNING: It is expressly forbidden to modify any part of this document, including its name
*/
//=======================================================================================
/*
getMaze()
Creates and returns an object whose class extends MazeInterface.
This should be an object of a class you have created.
Example: If you made a class called "Maze", you might say, "return new Maze();".
*/
class Factory
{
public:
static MazeInterface * getMaze();
};
//=======================================================================================