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 );
|
2003-01-20 05:08:35 +00:00
|
|
|
virtual void MoveToTail( Actor* pActor );
|
|
|
|
|
virtual void MoveToHead( Actor* pActor );
|
2003-06-19 18:05:52 +00:00
|
|
|
virtual void SortByZ();
|
2003-01-21 20:44:09 +00:00
|
|
|
|
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-05-15 06:09:19 +00:00
|
|
|
virtual void SetUseZBuffer( bool b );
|
2003-07-20 01:32:42 +00:00
|
|
|
virtual void FinishTweening();
|
|
|
|
|
|
2003-01-01 09:05:21 +00:00
|
|
|
/* Amount of time until all tweens (and all children's tweens) have stopped: */
|
2003-03-02 01:43:33 +00:00
|
|
|
virtual float GetTweenTimeLeft() const;
|
2003-01-01 09:05:21 +00:00
|
|
|
|
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
|