• Rahix's avatar
    Pass Player component between gamestates · ff0b5af8
    Rahix authored
    The player component hold information which should stay persistent
    across the game-runs and thus needs to be passed through the different
    game-states.  Do this by instanciating it in the heaven and then passing
    it through the level-loading state into the in-game state.
player.rs 950 Bytes