]> git.tdb.fi Git - libs/game.git/blobdiff - examples/bassteroids/source/gamecontroller.h
Load the various setups through resources
[libs/game.git] / examples / bassteroids / source / gamecontroller.h
index 121544429b08114115aea9c91418e8ec2914ae1a..cebdff32f85a4076189bda516a0d2b6283c224f8 100644 (file)
@@ -15,7 +15,7 @@ private:
        };
 
        std::minstd_rand rng;
-       AsteroidSetup asteroid_setup;
+       const AsteroidSetup &asteroid_setup;
        State state = LEVEL_START;
        unsigned level = 1;
        std::vector<Msp::Game::Owned<Asteroid>> asteroids;