bind
This commit is contained in:
@@ -3,7 +3,10 @@
|
||||
#include "ThemeManager.h"
|
||||
#include "MemoryCardManager.h"
|
||||
#include "RageUtil.h"
|
||||
#include "XmlFile.h"
|
||||
#include "ActorUtil.h"
|
||||
|
||||
REGISTER_ACTOR_CLASS( MemoryCardDisplay )
|
||||
|
||||
MemoryCardDisplay::MemoryCardDisplay()
|
||||
{
|
||||
@@ -25,6 +28,16 @@ void MemoryCardDisplay::Load( PlayerNumber pn )
|
||||
}
|
||||
}
|
||||
|
||||
void MemoryCardDisplay::LoadFromNode( const CString& sDir, const XNode* pNode )
|
||||
{
|
||||
PlayerNumber pn;
|
||||
pNode->GetAttrValue("PlayerNumber", (int&) pn );
|
||||
|
||||
Load( pn );
|
||||
|
||||
ActorFrame::LoadFromNode( sDir, pNode );
|
||||
}
|
||||
|
||||
void MemoryCardDisplay::Update( float fDelta )
|
||||
{
|
||||
MemoryCardState newMcs = MEMCARDMAN->GetCardState(m_PlayerNumber);
|
||||
|
||||
Reference in New Issue
Block a user