public abstract class RenderableComponent extends java.lang.Object implements IComponent, ICullable
Model at the GameObject location.| Constructor and Description |
|---|
RenderableComponent() |
| Modifier and Type | Method and Description |
|---|---|
GameObject |
getGameObject() |
abstract ICullableNode |
getRenderable() |
void |
init(GameObject gameObject)
internal - don't call
|
boolean |
isCulled() |
boolean |
isVisible() |
void |
onActivate()
internal - don't call
|
void |
onDeactivate()
internal - don't call
|
void |
setCulled(boolean culled) |
void |
start()
internal - don't call
|
abstract void |
update(long timePassedMs) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonDestroygetVolumepublic final GameObject getGameObject()
getGameObject in interface IComponentGameObject this component is attached topublic final void init(GameObject gameObject)
init in interface IComponentpublic abstract void update(long timePassedMs)
public void start()
start in interface IComponentpublic void onActivate()
onActivate in interface IComponentpublic void onDeactivate()
onDeactivate in interface IComponentpublic abstract ICullableNode getRenderable()
public final boolean isCulled()
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com