HOG2
abstraction
MapProvider.h
Go to the documentation of this file.
1
/*
2
* $Id: MapProvider.h
3
* hog2
4
*
5
* Created by Nathan Sturtevant on 5/10/05.
6
* Modified by Nathan Sturtevant on 02/29/20.
7
*
8
* This file is part of HOG2. See https://github.com/nathansttt/hog2 for licensing information.
9
*
10
*/
11
12
#ifndef MAPPROVIDERINTERFACE_H
13
#define MAPPROVIDERINTERFACE_H
14
20
class
Map
;
21
class
MapAbstraction;
22
23
class
MapProvider
{
24
public
:
25
virtual
~MapProvider
() {};
26
virtual
Map
*
GetMap
()
const
= 0;
27
virtual
MapAbstraction *
GetMapAbstraction
() = 0;
28
};
29
30
#include "
Map.h
"
31
#include "
MapAbstraction.h
"
32
33
#endif
MapProvider::GetMap
virtual Map * GetMap() const =0
MapProvider::GetMapAbstraction
virtual MapAbstraction * GetMapAbstraction()=0
MapProvider
Definition:
MapProvider.h:23
MapProvider::~MapProvider
virtual ~MapProvider()
Definition:
MapProvider.h:25
MapAbstraction.h
Map.h
Map
A tile-based representation of the world.
Definition:
Map.h:142
Generated by
1.8.17