Files
itgmania212121/stepmania/src/ScreenAttract.h
T

47 lines
1.2 KiB
C++
Raw Normal View History

#ifndef ScreenAttract_H
#define ScreenAttract_H
2002-12-02 05:25:44 +00:00
/*
-----------------------------------------------------------------------------
Class: ScreenAttract
2002-12-02 05:25:44 +00:00
Desc: Base class for all attraction screens. This class handles input
and coin logic
2002-12-02 05:25:44 +00:00
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
Chris Danford
-----------------------------------------------------------------------------
*/
#include "Screen.h"
#include "Sprite.h"
2002-12-02 05:25:44 +00:00
#include "BitmapText.h"
#include "TransitionFade.h"
#include "RandomSample.h"
#include "BGAnimation.h"
#include "RageTimer.h"
#include "RageSound.h"
2002-12-02 05:25:44 +00:00
class ScreenAttract : public Screen
2002-12-02 05:25:44 +00:00
{
public:
2003-01-19 04:44:22 +00:00
ScreenAttract( CString sMetricName, CString sElementName );
virtual ~ScreenAttract();
2002-12-02 05:25:44 +00:00
virtual void Input( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI );
virtual void Update( float fDelta );
2002-12-02 05:25:44 +00:00
virtual void HandleScreenMessage( const ScreenMessage SM );
protected:
2003-01-19 04:44:22 +00:00
CString m_sMetricName; // used to loop up theme metrics
CString m_sElementName; // used to loop up theme elements
2002-12-02 05:25:44 +00:00
BGAnimation m_Background;
TransitionFade m_Fade;
RandomSample m_soundStart;
2002-12-02 05:25:44 +00:00
};
#endif