src/proto2/Dimension.cc
author terom
Sat, 08 Nov 2008 21:25:56 +0000
changeset 23 8d802b573cf0
child 24 b81cb670e6b2
permissions -rw-r--r--
fixed more network code, there's actually a high probability of it working now
23
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
     1
#include "Dimension.hh"
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
     2
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
     3
std::ostream& operator<< (std::ostream &s, const Coordinate &c) {
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
     4
	s << "(" << c.x << ", " << c.y << ")";
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
     5
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
     6
	return s;
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
     7
}
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
     8
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
     9
std::ostream& operator<< (std::ostream &s, const PositionDelta &c) {
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
    10
	s << "(" << c.dx << ", " << c.dy << ")";
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
    11
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
    12
	return s;
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
    13
}
8d802b573cf0 fixed more network code, there's actually a high probability of it working now
terom
parents:
diff changeset
    14