DDraceNetwork Docs
CFlow Class Reference

#include <flow.h>

Inheritance diagram for CFlow:
[legend]
Collaboration diagram for CFlow:
[legend]

Classes

struct  CCell
 

Public Member Functions

 CFlow ()
 
virtual int Sizeof () const override
 
vec2 Get (vec2 Pos)
 
void Add (vec2 Pos, vec2 Vel, float Size)
 
void Update ()
 
- Public Member Functions inherited from CComponent
virtual ~CComponent ()
 
virtual int Sizeof () const =0
 
class CGameClientGameClient () const
 
class IClientClient () const
 
virtual void OnStateChange (int NewState, int OldState)
 
virtual void OnConsoleInit ()
 
virtual void OnInit ()
 
virtual void OnShutdown ()
 
virtual void OnReset ()
 
virtual void OnWindowResize ()
 
virtual void OnRefreshSkins ()
 
virtual void OnRender ()
 
virtual void OnNewSnapshot ()
 
virtual void OnRelease ()
 
virtual void OnMapLoad ()
 
virtual void OnMessage (int Msg, void *pRawMsg)
 
virtual bool OnCursorMove (float x, float y, IInput::ECursorType CursorType)
 
virtual bool OnInput (const IInput::CEvent &Event)
 

Private Member Functions

void DbgRender ()
 
void Init ()
 

Private Attributes

CCellm_pCells
 
int m_Height
 
int m_Width
 
int m_Spacing
 

Additional Inherited Members

- Protected Member Functions inherited from CComponent
class IKernelKernel () const
 
class IEngineEngine () const
 
class IGraphicsGraphics () const
 
class ITextRenderTextRender () const
 
class IInputInput () const
 
class IStorageStorage () const
 
class CUiUi () const
 
class ISoundSound () const
 
class CRenderToolsRenderTools () const
 
class IConfigManagerConfigManager () const
 
class CConfigConfig () const
 
class IConsoleConsole () const
 
class IDemoPlayerDemoPlayer () const
 
class IDemoRecorderDemoRecorder (int Recorder) const
 
class IFavoritesFavorites () const
 
class IServerBrowserServerBrowser () const
 
class CLayersLayers () const
 
class CCollisionCollision () const
 
int64_t time () const
 
float LocalTime () const
 
class IHttpHttp () const
 
- Protected Attributes inherited from CComponent
CGameClientm_pClient
 

Constructor & Destructor Documentation

◆ CFlow()

CFlow::CFlow ( )

Member Function Documentation

◆ Add()

void CFlow::Add ( vec2  Pos,
vec2  Vel,
float  Size 
)

◆ DbgRender()

void CFlow::DbgRender ( )
private

◆ Get()

vec2 CFlow::Get ( vec2  Pos)

◆ Init()

void CFlow::Init ( )
private

◆ Sizeof()

virtual int CFlow::Sizeof ( ) const
inlineoverridevirtual

Gets the size of the non-abstract component.

Implements CComponent.

◆ Update()

void CFlow::Update ( )

Member Data Documentation

◆ m_Height

int CFlow::m_Height
private

◆ m_pCells

CCell* CFlow::m_pCells
private

◆ m_Spacing

int CFlow::m_Spacing
private

◆ m_Width

int CFlow::m_Width
private

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