22 lines
615 B
C
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();
|
||
|
};
|
||
|
|
||
|
//=======================================================================================
|