00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef HOSPITAL_CLASS
00031 #define HOSPITAL_CLASS
00032
00033 #include "fill_box.h"
00034
00035 class hospital
00036 {
00037 public:
00038 hospital(const c_point &origin = c_point(0, 0), canvas *draw_on = NIL);
00039
00040 void draw();
00041 void erase();
00042
00043 c_rectangle dimensions();
00044
00045 void set_origin(const c_point &origin);
00046
00047 private:
00048 filled_box body;
00049 filled_box vertical_bar;
00050 filled_box horizontal_bar;
00051 canvas *my_canvas;
00052 c_point my_origin;
00053 };
00054
00055 #endif