Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CCinemaManager Class Reference

Class for in game playing of cinematics. More...

#include <CinemaManager.h>

Public Member Functions

 CCinemaManager ()
 
 ~CCinemaManager ()
 
void Render () const
 Renders paths and their nodes (if enabled). More...
 
bool IsPlaying () const
 
bool IsEnabled () const
 
void Update (const float deltaRealTime) const
 Updates CCinemManager and current path. More...
 
bool GetPathsDrawing () const
 
void SetPathsDrawing (const bool drawPath)
 

Private Member Functions

void DrawPaths () const
 
void DrawSpline (const RNSpline &spline, const CColor &splineColor, int smoothness) const
 
void DrawNodes (const RNSpline &spline, const CColor &nodesColor) const
 

Private Attributes

bool m_DrawPaths
 

Detailed Description

Class for in game playing of cinematics.

Should only be instantiated in CGameView.

Constructor & Destructor Documentation

◆ CCinemaManager()

CCinemaManager::CCinemaManager ( )

◆ ~CCinemaManager()

CCinemaManager::~CCinemaManager ( )
inline

Member Function Documentation

◆ DrawNodes()

void CCinemaManager::DrawNodes ( const RNSpline spline,
const CColor nodesColor 
) const
private

◆ DrawPaths()

void CCinemaManager::DrawPaths ( ) const
private

◆ DrawSpline()

void CCinemaManager::DrawSpline ( const RNSpline spline,
const CColor splineColor,
int  smoothness 
) const
private

◆ GetPathsDrawing()

bool CCinemaManager::GetPathsDrawing ( ) const

◆ IsEnabled()

bool CCinemaManager::IsEnabled ( ) const

◆ IsPlaying()

bool CCinemaManager::IsPlaying ( ) const

◆ Render()

void CCinemaManager::Render ( ) const

Renders paths and their nodes (if enabled).

◆ SetPathsDrawing()

void CCinemaManager::SetPathsDrawing ( const bool  drawPath)

◆ Update()

void CCinemaManager::Update ( const float  deltaRealTime) const

Updates CCinemManager and current path.

Parameters
deltaRealTimeElapsed real time since the last frame.

Member Data Documentation

◆ m_DrawPaths

bool CCinemaManager::m_DrawPaths
private

The documentation for this class was generated from the following files: