/** * Render all game elements. Order of rendering affects the order on the Z axis. First things * rendered are on the back. Last things rendered are on the front. */ @Override public void render(Canvas canvas) { mBackground.render(canvas); mDeathEffectContainer.render(canvas); mNpcContainer.render(canvas); }