Files
itgmania212121/stepmania/src/ScreenAttract.h
T

42 lines
1.1 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"
2003-04-13 01:09:19 +00:00
#include "Transition.h"
2002-12-02 05:25:44 +00:00
#include "RandomSample.h"
#include "BGAnimation.h"
2002-12-02 05:25:44 +00:00
class ScreenAttract : public Screen
2002-12-02 05:25:44 +00:00
{
public:
2004-01-07 02:56:47 +00:00
ScreenAttract( CString sClassName, bool bResetGameState=true );
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 );
2003-03-09 00:55:49 +00:00
static void AttractInput( const DeviceInput& DeviceI, const InputEventType type, const GameInput &GameI, const MenuInput &MenuI, const StyleInput &StyleI, bool bTransitioning );
virtual void Update( float fDelta );
2002-12-02 05:25:44 +00:00
virtual void HandleScreenMessage( const ScreenMessage SM );
protected:
2004-01-17 23:14:56 +00:00
BGAnimation m_Background;
Transition m_In;
Transition m_Out;
2002-12-02 05:25:44 +00:00
};
2003-02-15 01:02:15 +00:00
#endif