// Copyright © 2008-2021 Pioneer Developers. See AUTHORS.txt for details // Licensed under the terms of the GPL v3. See licenses/GPL-3.txt #ifndef DEATH_VIEW_H #define DEATH_VIEW_H #include "RefCounted.h" #include "View.h" class Camera; class CameraContext; class Game; class DeathView : public View { public: DeathView(Game *game); virtual ~DeathView(); void Init(); virtual void Update(); virtual void Draw3D(); protected: virtual void OnSwitchTo(); private: RefCountedPtr m_cameraContext; std::unique_ptr m_camera; float m_cameraDist; Game *m_game; }; #endif