2002-10-28 05:30:45 +00:00
|
|
|
#ifndef ACTORFRAME_H
|
|
|
|
|
#define ACTORFRAME_H
|
2001-12-11 11:44:26 +00:00
|
|
|
/*
|
|
|
|
|
-----------------------------------------------------------------------------
|
2002-07-23 01:41:40 +00:00
|
|
|
Class: ActorFrame
|
2001-12-11 11:44:26 +00:00
|
|
|
|
2002-07-23 01:41:40 +00:00
|
|
|
Desc: A container for other actors.
|
2001-12-11 11:44:26 +00:00
|
|
|
|
2002-05-19 01:59:48 +00:00
|
|
|
Copyright (c) 2001-2002 by the person(s) listed below. All rights reserved.
|
2002-07-23 01:41:40 +00:00
|
|
|
Chris Danford
|
2001-12-11 11:44:26 +00:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "Actor.h"
|
|
|
|
|
|
2002-01-16 10:01:32 +00:00
|
|
|
class ActorFrame : public Actor
|
2001-12-11 11:44:26 +00:00
|
|
|
{
|
|
|
|
|
public:
|
2003-01-11 08:55:21 +00:00
|
|
|
virtual void AddChild( Actor* pActor );
|
|
|
|
|
virtual void MoveToBack( Actor* pActor );
|
|
|
|
|
virtual void MoveToFront( Actor* pActor );
|
2002-08-23 08:30:10 +00:00
|
|
|
virtual ~ActorFrame() { }
|
2001-12-11 11:44:26 +00:00
|
|
|
|
2002-01-16 10:01:32 +00:00
|
|
|
virtual void Update( float fDeltaTime );
|
2002-05-19 01:59:48 +00:00
|
|
|
virtual void DrawPrimitives();
|
2001-12-11 11:44:26 +00:00
|
|
|
|
2002-10-28 05:30:45 +00:00
|
|
|
virtual void SetDiffuse( RageColor c );
|
2001-12-11 11:44:26 +00:00
|
|
|
|
2003-01-01 09:05:21 +00:00
|
|
|
/* Amount of time until all tweens (and all children's tweens) have stopped: */
|
|
|
|
|
virtual float TweenTime() const;
|
|
|
|
|
|
2002-09-02 21:59:58 +00:00
|
|
|
protected:
|
2003-01-03 05:56:28 +00:00
|
|
|
vector<Actor*> m_SubActors;
|
2001-12-11 11:44:26 +00:00
|
|
|
};
|
2002-10-28 05:30:45 +00:00
|
|
|
|
2002-11-16 08:08:46 +00:00
|
|
|
#endif
|