diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-06-17 17:07:23 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-06-17 17:07:23 +0200 |
commit | 2e08f723375023e203654381b2a49d63c9565824 (patch) | |
tree | 17dc1b1534cf329ff6069c95d98d5814b7248055 /src/map.h | |
parent | 914d3de7c324cb1ec456892702689718352a7842 (diff) | |
download | mana-2e08f723375023e203654381b2a49d63c9565824.tar.gz mana-2e08f723375023e203654381b2a49d63c9565824.tar.bz2 mana-2e08f723375023e203654381b2a49d63c9565824.tar.xz mana-2e08f723375023e203654381b2a49d63c9565824.zip |
Removed dehardcoded values from the Map and MapLayer classes.
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -90,7 +90,8 @@ class MapLayer * fringe layer. The fringe layer is the layer that draws the actors. * There can be only one fringe layer per map. */ - MapLayer(int x, int y, int width, int height, bool isFringeLayer); + MapLayer(int x, int y, int width, int height, bool isFringeLayer, + Map *map); ~MapLayer(); @@ -134,6 +135,7 @@ class MapLayer int mWidth, mHeight; bool mIsFringeLayer; /**< Whether the actors are drawn. */ Image **mTiles; + Map *mMap; /** The mother map pointer */ }; /** |