MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / SplashScreen

Class SplashScreen

extensions/olcPGEX_SplashScreen.h:73–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71namespace olc
72{
73 class SplashScreen : public olc::PGEX
74 {
75 public:
76 SplashScreen();
77
78 protected:
79 virtual void OnAfterUserCreate() override;
80 virtual bool OnBeforeUserUpdate(float& fElapsedTime) override;
81
82 private:
83 olc::Renderable spr;
84 std::vector<std::pair<olc::vf2d, olc::vf2d>> vBoom;
85 olc::vf2d vScale;
86 olc::vf2d vPosition;
87 float fParticleTime = 0.0f;
88 float fAspect = 0.0f;
89 bool bComplete = false;
90 };
91
92
93}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected