Antiprism 0.23
|
Base class for items in a scene. More...
#include <scene.h>
Public Member Functions | |
scene_item () | |
The name of the item. | |
void | set_name (string nam) |
Set the name. | |
string | get_name () const |
Get the name. | |
void | set_scene (scene *sc) |
Set the scene that the item is part of. | |
scene * | get_scene () |
Get the scene that the item is part of. | |
Protected Attributes | |
string | name |
The scene the item is part of. |
Base class for items in a scene.
scene_item::scene_item | ( | ) | [inline] |
The name of the item.
Constructor
string scene_item::get_name | ( | ) | const [inline] |
Get the name.
scene* scene_item::get_scene | ( | ) | [inline] |
Get the scene that the item is part of.
void scene_item::set_name | ( | string | nam | ) | [inline] |
Set the name.
nam | the name of the item. |
void scene_item::set_scene | ( | scene * | sc | ) | [inline] |
Set the scene that the item is part of.
sc | the scene the item is part of. |