summaryrefslogtreecommitdiff
path: root/src/List.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/List.cpp')
-rw-r--r--src/List.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/List.cpp b/src/List.cpp
index bd0f5d4..86049a3 100644
--- a/src/List.cpp
+++ b/src/List.cpp
@@ -24,3 +24,9 @@ void List::action()
for(int i = 0; i < men.size(); i++)
men[i].action(men,impassable);
}
+
+void List::order(Location l)
+{
+ for(int i = 0; i < men.size(); i++)
+ men[i].giveOrder(l);
+}