#ifndef BRMLIFE__CONNECTION_H #define BRMLIFE__CONNECTION_H #include #include "map.h" class connection { public: int fd; bool error; connection(int fd_) : fd(fd_) {} ~connection() { close(fd); } void senses(int tick_id, char around[4]); }; #endif