RenderableNamedEntity Class Reference

#include <namedentity.h>

Collaboration diagram for RenderableNamedEntity:
Collaboration graph
[legend]

Public Member Functions

 RenderableNamedEntity (const NamedEntity &named, const Vector3 &position)
void render (RenderStateFlags state) const
 Renders the name of the entitiy.

Private Attributes

const NamedEntitym_named
const Vector3m_position

Detailed Description

Definition at line 95 of file namedentity.h.


Constructor & Destructor Documentation

RenderableNamedEntity::RenderableNamedEntity ( const NamedEntity named,
const Vector3 position 
) [inline]

Definition at line 100 of file namedentity.h.


Member Function Documentation

void RenderableNamedEntity::render ( RenderStateFlags  state  )  const [inline]

Renders the name of the entitiy.

Definition at line 108 of file namedentity.h.

References OpenGLBinding::drawString(), GlobalOpenGL(), m_named, m_position, and NamedEntity::name().


Field Documentation

Definition at line 97 of file namedentity.h.

Referenced by render().

Definition at line 98 of file namedentity.h.

Referenced by render().


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

Generated by  doxygen 1.6.2