aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/neighborhood/exit.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/neighborhood/exit.h')
-rwxr-xr-xengines/pegasus/neighborhood/exit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/exit.h b/engines/pegasus/neighborhood/exit.h
index cd7bec41d1..671f30738f 100755
--- a/engines/pegasus/neighborhood/exit.h
+++ b/engines/pegasus/neighborhood/exit.h
@@ -68,6 +68,10 @@ public:
Entry findEntry(tRoomID room, tDirectionConstant direction, tAlternateID altCode);
+ typedef Common::Array<Entry>::iterator iterator;
+ iterator begin() { return _entries.begin(); }
+ iterator end() { return _entries.end(); }
+
private:
Common::Array<Entry> _entries;
};