remove hacky Actor::IsType

This commit is contained in:
Glenn Maynard
2006-10-11 23:51:40 +00:00
parent ebfdac231c
commit 6ff22acb45
2 changed files with 0 additions and 14 deletions
-13
View File
@@ -297,19 +297,6 @@ void Actor::LoadFromNode( const XNode* pNode )
PlayCommand( "Init" );
}
/* Like RTTI: return true if this actor is an sType (or derived from sType).
* This uses the Lua binding check, so only works on bound types. */
bool Actor::IsType( const RString &sType )
{
Lua *L = LUA->Get();
this->PushSelf( L );
bool bRet = LuaBinding::CheckLuaObjectType( L, lua_gettop(L), sType, false );
lua_pop( L, 1 );
LUA->Release( L );
return bRet;
}
void Actor::Draw()
{
if( !m_bVisible )
-1
View File
@@ -59,7 +59,6 @@ public:
virtual Actor *Copy() const;
virtual void InitState();
virtual void LoadFromNode( const XNode* pNode );
bool IsType( const RString &sType );
static void SetBGMTime( float fTime, float fBeat );
static void SetBGMLight( int iLightNumber, float fCabinetLights );