add SetLoop

This commit is contained in:
Glenn Maynard
2006-08-16 18:19:16 +00:00
parent 2c673fb13d
commit ce81254e53
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -45,7 +45,6 @@ void ActorScroller::Load2(
)
{
m_fNumItemsToDraw = fNumItemsToDraw;
m_bLoop = bLoop;
m_iNumItems = m_SubActors.size();
Lua *L = LUA->Get();
+1
View File
@@ -31,6 +31,7 @@ public:
void LoadFromNode( const RString &sDir, const XNode *pNode );
virtual Actor *Copy() const;
void SetLoop( bool bLoop ) { m_bLoop = bLoop; }
void SetDestinationItem( float fItemIndex ) { m_fDestinationItem = fItemIndex; }
void SetCurrentAndDestinationItem( float fItemIndex ) { m_fCurrentItem = m_fDestinationItem = fItemIndex; }
float GetCurrentItem() const { return m_fCurrentItem; }