aboutsummaryrefslogtreecommitdiff
path: root/world.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'world.cpp')
-rw-r--r--world.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/world.cpp b/world.cpp
index 7674164..fecd956 100644
--- a/world.cpp
+++ b/world.cpp
@@ -317,17 +317,6 @@ Robot* World::targetbot(const Robot *r){
return *targetbotptr(r);
}
-void World::print(ostream &os) const {
- for(int y=0;y<SIZE;y++){
- for(int x=0;x<SIZE;x++){
- if(board[y][x]==nullptr)os<<"..";
- else os<<string(2,"^>v<"[board[y][x]->heading%4]);
- os<<' ';
- }
- os<<endl;
- }
-}
-
void World::print(ScreenBuffer &sb) const {
for(int y=0;y<SIZE;y++){
sb.moveto(0,y);