simplify ActorScroller::Load2

This commit is contained in:
Glenn Maynard
2005-12-07 03:50:11 +00:00
parent 7c65f28e44
commit 24dd9f52a5
4 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -38,12 +38,11 @@ ActorScroller::ActorScroller()
}
void ActorScroller::Load2(
float fSecondsPerItem,
float fNumItemsToDraw,
float fItemHeight,
bool bLoop )
{
Load3( fSecondsPerItem, fNumItemsToDraw,
Load3( 0, fNumItemsToDraw,
ssprintf("function(self,offset,itemIndex,numItems) self:y(%f*offset) end",fItemHeight), 1, bLoop );
}