adding cs235
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#include "StationInterface.h"
|
||||
#pragma once
|
||||
/*
|
||||
WARNING: It is expressly forbidden to modify any part of this document, including its name
|
||||
*/
|
||||
//=======================================================================================
|
||||
/*
|
||||
createStation()
|
||||
|
||||
Creates and returns an object whose class extends StationInterface.
|
||||
This should be an object of a class you have created.
|
||||
|
||||
Example: If you made a class called "Station", you might say, "return new Station();".
|
||||
*/
|
||||
class Factory
|
||||
{
|
||||
public:
|
||||
static StationInterface* createStation();
|
||||
};
|
||||
|
||||
//=======================================================================================
|
||||
Reference in New Issue
Block a user