File: mapswitch.h

package info (click to toggle)
enemylines3 1.2-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,380 kB
  • ctags: 1,444
  • sloc: cpp: 16,323; makefile: 74; sh: 52
file content (34 lines) | stat: -rw-r--r-- 423 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__mapswitch_h
#define __el3__mapswitch_h


#include "coordinate.h"
#include "mapbase.h"

namespace el3 {

class Mapswitch : public Mapbase{
	Mapbase *m_;
public:

	Mapswitch(Mapbase *m);

	unsigned int dx();
	unsigned int dy();
	unsigned int dz();


	bool inside(C3 c);
	
	e_tiletype get(C3);
	void set(C3,e_tiletype);
	void clear(e_tiletype);

	void lower(C3 p);
	void raise(C3 p);
};


} //namespace

#endif