remove InitDefaults
This commit is contained in:
@@ -46,13 +46,6 @@ void Actor::SetBGMLight( int iLightNumber, float fCabinetLights )
|
|||||||
g_fCabinetLights[iLightNumber] = fCabinetLights;
|
g_fCabinetLights[iLightNumber] = fCabinetLights;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Actor::InitDefaults()
|
|
||||||
{
|
|
||||||
InitState();
|
|
||||||
|
|
||||||
UnsubscribeAll();
|
|
||||||
}
|
|
||||||
|
|
||||||
void Actor::InitState()
|
void Actor::InitState()
|
||||||
{
|
{
|
||||||
StopTweening();
|
StopTweening();
|
||||||
@@ -125,7 +118,7 @@ Actor::Actor()
|
|||||||
|
|
||||||
|
|
||||||
m_size = RageVector2( 1, 1 );
|
m_size = RageVector2( 1, 1 );
|
||||||
InitDefaults();
|
InitState();
|
||||||
m_pParent = NULL;
|
m_pParent = NULL;
|
||||||
m_bFirstUpdate = true;
|
m_bFirstUpdate = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ public:
|
|||||||
Actor( const Actor &cpy );
|
Actor( const Actor &cpy );
|
||||||
virtual ~Actor();
|
virtual ~Actor();
|
||||||
virtual Actor *Copy() const;
|
virtual Actor *Copy() const;
|
||||||
virtual void InitDefaults();
|
|
||||||
virtual void InitState();
|
virtual void InitState();
|
||||||
virtual void LoadFromNode( const RString& sDir, const XNode* pNode );
|
virtual void LoadFromNode( const RString& sDir, const XNode* pNode );
|
||||||
bool IsType( const RString &sType );
|
bool IsType( const RString &sType );
|
||||||
|
|||||||
Reference in New Issue
Block a user