overlay-map: allow engine to be queried
git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@599 d9718cc8-9f43-0410-858b-315f434eb58c
This commit is contained in:
parent
efd0326db2
commit
92f79886ae
1 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,11 @@ public class OverlayMapView extends JComponent
|
|||
setEngine(_engine);
|
||||
}
|
||||
|
||||
public Micropolis getEngine()
|
||||
{
|
||||
return engine;
|
||||
}
|
||||
|
||||
public void setEngine(Micropolis newEngine)
|
||||
{
|
||||
assert newEngine != null;
|
||||
|
|
Reference in a new issue