Big BIG refactor to make inventory use a model that's placed into the world, following a more sane MVC style.
This commit is contained in:
parent
119b3ed11d
commit
a0eff927b6
21 changed files with 270 additions and 123 deletions
|
@ -14,6 +14,7 @@ using std::string;
|
|||
using matrix::Matrix;
|
||||
|
||||
shared_ptr<Map> make_map() {
|
||||
// BUG? I mean, it's a shared_ptr so it should keep it around but....
|
||||
LevelManager levels;
|
||||
GameLevel level = levels.current();
|
||||
return level.map;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue