Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / colonet / server / includes / VirtualWall.h @ 659

History | View | Annotate | Download (440 Bytes)

1
/**
2
 * Eugene Marinelli
3
 * 
4
 */
5

    
6
#ifndef VIRTUALWALL_H
7
#define VIRTUALWALL_H
8

    
9
class VirtualWall {
10
 public:
11
  VirtualWall(void);
12
  ~VirtualWall(void);
13

    
14
  int set_coordinates(int upper_x, int upper_y, int lower_x, int lower_y);
15
  void clear(void);
16
  int get_coordinates(int* upper_x, int* upper_y, int* lower_x, int* lower_y);
17

    
18
 private:
19
  bool wall_available;
20
  int upper_left_x, upper_left_y;
21
  int lower_right_x, lower_right_y;
22
};
23

    
24
#endif