#include <namedentity.h>
Public Member Functions | |
RenderableNamedEntity (const NamedEntity &named, const Vector3 &position) | |
void | render (RenderStateFlags state) const |
Renders the name of the entitiy. | |
Private Attributes | |
const NamedEntity & | m_named |
const Vector3 & | m_position |
Definition at line 95 of file namedentity.h.
RenderableNamedEntity::RenderableNamedEntity | ( | const NamedEntity & | named, | |
const Vector3 & | position | |||
) | [inline] |
Definition at line 100 of file namedentity.h.
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().
const NamedEntity& RenderableNamedEntity::m_named [private] |
Definition at line 97 of file namedentity.h.
Referenced by render().
const Vector3& RenderableNamedEntity::m_position [private] |
Definition at line 98 of file namedentity.h.
Referenced by render().