File: mapbase.h

package info (click to toggle)
enemylines3 1.25-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, trixie
  • size: 1,448 kB
  • sloc: cpp: 16,314; makefile: 26
file content (34 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef __el3__mapbase_h
#define __el3__mapbase_h

#include "coordinate.h"
#include "tiletype.h"

namespace el3 {


class Mapbase {

public:

	virtual ~Mapbase() {}

	virtual unsigned int dx()=0;
	virtual unsigned int dy()=0;
	virtual unsigned int dz()=0;

	virtual void clear(e_tiletype t)=0;

	virtual bool inside(C3 c)=0;
	
	virtual e_tiletype get(C3)=0;
	virtual void set(C3,e_tiletype)=0;

	virtual void lower(C3 p)=0;
	virtual void raise(C3 p)=0;
};


} //namespace

#endif