Project

General

Profile

Statistics
| Revision:

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

History | View | Annotate | Download (469 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
  void send_to_robots(void);
18

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

    
25
#endif