UGDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Static Public Member Functions
ugdk::graphic::Node Class Reference

#include <node.h>

List of all members.

Public Types

typedef std::vector< Node * > NodeSet

Public Member Functions

 Node (Drawable *drawable=NULL, Modifier *modifier=NULL)
 ~Node ()
void Update (double dt)
 Pushes the modifier to the VideoManager, renders.
void Render () const
void RenderLight () const
void set_drawable (Drawable *drawable)
void set_light (Light *light)
void set_active (const bool active)
void set_zindex (const double zindex)
Modifiermodifier ()
const Modifiermodifier () const
Drawabledrawable ()
const Drawabledrawable () const
Lightlight ()
const Lightlight () const
bool active () const
double zindex () const
void AddChild (Node *new_child)
void RemoveChild (Node *child)
void SortChildren ()

Static Public Member Functions

static bool CompareByZIndex (const Node *a, const Node *b)

Member Typedef Documentation

typedef std::vector<Node*> ugdk::graphic::Node::NodeSet

Constructor & Destructor Documentation

ugdk::graphic::Node::Node ( Drawable drawable = NULL,
Modifier modifier = NULL 
) [inline]

Member Function Documentation

bool ugdk::graphic::Node::active ( ) const [inline]
void ugdk::graphic::Node::AddChild ( Node new_child) [inline]
bool ugdk::graphic::Node::CompareByZIndex ( const Node a,
const Node b 
) [static]
const Drawable* ugdk::graphic::Node::drawable ( ) const [inline]
const Light* ugdk::graphic::Node::light ( ) const [inline]
const Modifier* ugdk::graphic::Node::modifier ( ) const [inline]
void ugdk::graphic::Node::set_active ( const bool  active) [inline]
void ugdk::graphic::Node::set_drawable ( Drawable drawable) [inline]
void ugdk::graphic::Node::set_light ( Light light) [inline]
void ugdk::graphic::Node::set_zindex ( const double  zindex)
void ugdk::graphic::Node::Update ( double  dt)

Pushes the modifier to the VideoManager, renders.

double ugdk::graphic::Node::zindex ( ) const [inline]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines