1
0
forked from 0ad/0ad
0ad/source/tools/atlas/GameInterface/ActorViewer.h
janwas b755ddefda remove all author/modified by tags.
make include guards consistent.

This was SVN commit r5040.
2007-05-07 16:33:24 +00:00

35 lines
741 B
C++

#ifndef INCLUDED_ACTORVIEWER
#define INCLUDED_ACTORVIEWER
struct ActorViewerImpl;
struct SColor4ub;
class CUnit;
class CStrW;
class ActorViewer : boost::noncopyable
{
public:
ActorViewer();
~ActorViewer();
void SetActor(const CStrW& id, const CStrW& animation);
void UnloadObjects();
CUnit* GetUnit();
void SetBackgroundColour(const SColor4ub& colour);
void SetWalkEnabled(bool enabled);
void SetGroundEnabled(bool enabled);
void SetShadowsEnabled(bool enabled);
void SetStatsEnabled(bool enabled);
void Render();
void Update(float dt);
// Returns whether there is a selected actor which has more than one
// frame of animation
bool HasAnimation() const;
private:
ActorViewerImpl& m;
};
#endif // INCLUDED_ACTORVIEWER