Hymn to Beauty
C++ 3D Engine
GUI::EntityEditor Class Reference

Used to edit an entity. More...

#include <EntityEditor.hpp>

Public Member Functions

 EntityEditor ()
 Create new entity editor. More...
 
 ~EntityEditor ()
 Destructor. More...
 
void Show ()
 Show the editor. More...
 
void SetEntity (Entity *entity)
 Set the entity to edit. More...
 
EntityGetEntity ()
 Get the entity being edited. More...
 
bool ShowsEntity (Entity *entity)
 Checks if the editor is showing this entity. More...
 
bool IsVisible () const
 Get whether the window is visible. More...
 
void SetVisible (bool visible)
 Set whether the window should be visible. More...
 

Detailed Description

Used to edit an entity.

Constructor & Destructor Documentation

◆ EntityEditor()

EntityEditor::EntityEditor ( )

Create new entity editor.

◆ ~EntityEditor()

EntityEditor::~EntityEditor ( )

Destructor.

Member Function Documentation

◆ GetEntity()

Entity * EntityEditor::GetEntity ( )

Get the entity being edited.

Returns
The Entity object being edited.

◆ IsVisible()

bool EntityEditor::IsVisible ( ) const

Get whether the window is visible.

Returns
Whether the window is visible.

◆ SetEntity()

void EntityEditor::SetEntity ( Entity entity)

Set the entity to edit.

Parameters
entityThe entity to edit.

◆ SetVisible()

void EntityEditor::SetVisible ( bool  visible)

Set whether the window should be visible.

Parameters
visibleWhether the window should be visible.

◆ Show()

void EntityEditor::Show ( )

Show the editor.

◆ ShowsEntity()

bool EntityEditor::ShowsEntity ( Entity entity)

Checks if the editor is showing this entity.

Parameters
entityThe entity to check.
Returns
Is it showing.

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