public interface Entity extends Updatable
Node) to
work properly.| Modifier and Type | Method and Description |
|---|---|
void |
attached()
Called when an Entity gets attached to an scenegraph
|
Node |
boxed()
Returns a Node containing this Entity.
|
String |
getName()
Should return the name of the Entits
|
Transform |
getTransform()
Should return the current transform of the Entity
|
void |
removed()
Called when an Entity is about to get removed from the active scenegraph
|
void |
render(RenderEngine renderEngine)
Called on render, draw stuff here
|
void |
setEngine(CoreEngine engine)
Set the CoreEngine
|
void |
setParent(Node parent)
Set the parent node
|
void render(RenderEngine renderEngine)
renderEngine - The active renderEngine (caller)Transform getTransform()
void setParent(Node parent)
parent - The new parentvoid setEngine(CoreEngine engine)
engine - The new coreenginevoid removed()
void attached()
String getName()
Node boxed()
Copyright © 2014. All rights reserved.