GameApi
28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
Map.hh
Go to the documentation of this file.
1
//
2
// Copyright (C) 2009 Tero Pulkkinen
3
// Released under LGPL License.
4
//
5
// This file is part of Polygon.
6
//
7
// Polygon is free software: you can redistribute it and/or modify
8
// it under the terms of the GNU General Public License as published by
9
// the Free Software Foundation, either version 3 of the License, or
10
// (at your option) any later version.
11
//
12
// Polygon is distributed in the hope that it will be useful,
13
// but WITHOUT ANY WARRANTY; without even the implied warranty of
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
// GNU General Public License for more details.
16
//
17
// You should have received a copy of the GNU Library General Public License
18
// along with Polygon. If not, see <http://www.gnu.org/licenses/>.
19
//
20
21
22
#include <vector>
23
#include <string>
24
25
class
Map
26
{
27
public
:
28
void
Load
(std::string filename);
29
void
Render
(
float
time);
30
private
:
31
std::vector<int> type;
32
std::vector<float> height;
// left-top corner height
33
int
dimx, dimy;
34
};
Map
Definition
Map.hh:26
Map::Load
void Load(std::string filename)
Definition
Map.cc:40
Map::Render
void Render(float time)
Definition
Map.cc:54
Map.hh
Generated by
1.15.0