6 #include <msp/time/timedelta.h>
20 std::map<Host *, Connection *> connections;
23 Host(NetVis &, unsigned);
24 void set_position(const Vector2 &);
25 unsigned get_address() const { return addr; }
26 const std::string &get_name() const { return name; }
27 const Vector2 &get_position() const { return pos; }
28 bool get_visible() const { return visible; }
30 void add_connection(Connection &);
31 Connection *get_connection(Host &);
33 void tick(const Msp::Time::TimeDelta &);