school/cs142/lab10/Factory.h
2016-04-06 20:45:34 -07:00

22 lines
615 B
C++

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