use Init
cleanup
This commit is contained in:
@@ -13,6 +13,10 @@
|
|||||||
* for a sound to stop. */
|
* for a sound to stop. */
|
||||||
REGISTER_SCREEN_CLASS( ScreenExit );
|
REGISTER_SCREEN_CLASS( ScreenExit );
|
||||||
ScreenExit::ScreenExit( CString sName ): Screen( sName )
|
ScreenExit::ScreenExit( CString sName ): Screen( sName )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
void ScreenExit::Init()
|
||||||
{
|
{
|
||||||
m_Exited = false;
|
m_Exited = false;
|
||||||
|
|
||||||
|
|||||||
@@ -6,12 +6,14 @@
|
|||||||
|
|
||||||
class ScreenExit: public Screen
|
class ScreenExit: public Screen
|
||||||
{
|
{
|
||||||
bool m_Exited;
|
|
||||||
RageTimer m_ShutdownTimer;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ScreenExit( CString sName );
|
ScreenExit( CString sName );
|
||||||
|
void Init();
|
||||||
void Update( float fDelta );
|
void Update( float fDelta );
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool m_Exited;
|
||||||
|
RageTimer m_ShutdownTimer;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user