Files
itgmania212121/stepmania/src/ActorFrame.h
T
2002-01-16 10:01:32 +00:00

40 lines
708 B
C++

/*
-----------------------------------------------------------------------------
File: ActorFrame.h
Desc: Base class for all objects that appear on the screen.
Copyright (c) 2001 Chris Danford. All rights reserved.
-----------------------------------------------------------------------------
*/
#ifndef _ActorFrame_H_
#define _ActorFrame_H_
#include "RageUtil.h"
#include <d3dx8math.h>
#include "Actor.h"
class ActorFrame : public Actor
{
protected:
CArray<Actor*,Actor*> m_SubActors;
public:
void AddActor( Actor* pActor) { m_SubActors.Add(pActor); };
virtual void Update( float fDeltaTime );
virtual void RenderPrimitives();
virtual void SetDiffuseColor( D3DXCOLOR c );
};
#endif