half-finished codes, options icons, and two new modifiers.

This commit is contained in:
Chris Danford
2002-09-02 21:59:58 +00:00
parent d7e6f59b3b
commit 7d4cf73000
87 changed files with 1313 additions and 1109 deletions
+9
View File
@@ -23,6 +23,15 @@ Screen::~Screen()
}
void Screen::AddChild( Actor* pActor )
{
// add only if the actor is on screen
float fX = pActor->GetX();
float fY = pActor->GetY();
// if( SCREEN_LEFT>=fX && fX<=SCREEN_RIGHT && SCREEN_TOP>=fY && fY<=SCREEN_BOTTOM )
ActorFrame::AddChild( pActor );
}
void Screen::Update( float fDeltaTime )
{
ActorFrame::Update( fDeltaTime );