Simplify.

This commit is contained in:
Steve Checkoway
2006-08-10 06:51:55 +00:00
parent 2f6be662e7
commit f688fca2de
2 changed files with 5 additions and 33 deletions
-27
View File
@@ -25,33 +25,6 @@ void ScreenUnlockCelebrate::Init()
ScreenUnlockBrowse::Init();
}
void ScreenUnlockCelebrate::MenuLeft( const InputEventPlus &input )
{
}
void ScreenUnlockCelebrate::MenuRight( const InputEventPlus &input )
{
}
void ScreenUnlockCelebrate::MenuUp( const InputEventPlus &input )
{
}
void ScreenUnlockCelebrate::MenuDown( const InputEventPlus &input )
{
}
void ScreenUnlockCelebrate::MenuStart( PlayerNumber pn )
{
ScreenUnlockBrowse::MenuStart( pn );
}
void ScreenUnlockCelebrate::MenuBack( PlayerNumber pn )
{
this->MenuStart(pn);
}
/*
* (c) 2006 Chris Danford
* All rights reserved.
+5 -6
View File
@@ -7,12 +7,11 @@ class ScreenUnlockCelebrate : public ScreenUnlockBrowse
{
public:
virtual void Init();
virtual void MenuLeft( const InputEventPlus &input );
virtual void MenuRight( const InputEventPlus &input );
virtual void MenuUp( const InputEventPlus &input );
virtual void MenuDown( const InputEventPlus &input );
virtual void MenuStart( PlayerNumber pn );
virtual void MenuBack( PlayerNumber pn );
virtual void MenuLeft( const InputEventPlus &input ) { }
virtual void MenuRight( const InputEventPlus &input ) { }
virtual void MenuUp( const InputEventPlus &input ) { }
virtual void MenuDown( const InputEventPlus &input ) { }
virtual void MenuBack( PlayerNumber pn ) { MenuStart( pn ); }
protected:
};