summaryrefslogblamecommitdiffstats
path: root/game/code/presentation/nisplayer.h
blob: 430eeb079510a4f70532a414861a5a7e322fc7ea (plain) (tree)


























































                                                                               
//=============================================================================
// Copyright (C) 2002 Radical Entertainment Ltd.  All rights reserved.
//
// File:        .h
//
// Description: Blahblahblah
//
// History:     16/04/2002 + Created -- NAME
//
//=============================================================================

#ifndef NISPLAYER_H
#define NISPLAYER_H

//========================================
// Nested Includes
//========================================

#include <presentation/simpleanimationplayer.h>

#include <p3d/scenegraph/scenegraph.hpp>

//========================================
// Forward References
//========================================

//=============================================================================
//
// Synopsis:    Blahblahblah
//
//=============================================================================

class NISPlayer : public SimpleAnimationPlayer
{
    public:
        NISPlayer();
        virtual ~NISPlayer();

        virtual void ClearData();

        bool GetBoundingBox( rmt::Box3D* box );
        tDrawable* GetDrawable() { return mpSceneGraph; }

    protected:
        virtual void DoLoaded();
        virtual void DoRender();

    private:

        //Prevent wasteful constructor creation.
        NISPlayer( const NISPlayer& nisPlayer );
        NISPlayer& operator=( const NISPlayer& nisPlayer );

        tDrawable* mpSceneGraph;
};


#endif //NISPLAYER_H