be.yildizgames.common.gameobject.Deletable, be.yildizgames.common.gameobject.MovableBillboardSet, MovableText, ParticleSystempublic abstract class BaseMovable extends Object implements be.yildizgames.common.gameobject.Movable
| Modifier | Constructor | Description |
|---|---|---|
protected |
BaseMovable(Node node) |
Full constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
attachTo(be.yildizgames.common.gameobject.Movable other) |
|
void |
attachToOptional(be.yildizgames.common.gameobject.Movable other) |
|
void |
delete() |
|
be.yildizgames.common.geometry.Point3D |
getAbsoluteDirection() |
|
be.yildizgames.common.geometry.Point3D |
getAbsolutePosition() |
|
be.yildizgames.common.geometry.Point3D |
getDirection() |
|
be.yildizgames.common.geometry.Point3D |
getPosition() |
|
void |
hide() |
Set the object invisible.
|
protected abstract void |
hideImpl() |
Implementation specific hide.
|
boolean |
isVisible() |
|
void |
setDirection(be.yildizgames.common.geometry.Point3D direction) |
|
void |
setPosition(be.yildizgames.common.geometry.Point3D position) |
|
void |
show() |
Set the object visible.
|
protected abstract void |
showImpl() |
Implementation specific show.
|
protected BaseMovable(Node node)
node - Associated node.public final void attachTo(be.yildizgames.common.gameobject.Movable other)
attachTo in interface be.yildizgames.common.gameobject.Movablepublic final void attachToOptional(be.yildizgames.common.gameobject.Movable other)
attachToOptional in interface be.yildizgames.common.gameobject.Movablepublic final be.yildizgames.common.geometry.Point3D getPosition()
getPosition in interface be.yildizgames.common.gameobject.Movablepublic final void setPosition(be.yildizgames.common.geometry.Point3D position)
setPosition in interface be.yildizgames.common.gameobject.Movablepublic final be.yildizgames.common.geometry.Point3D getAbsolutePosition()
getAbsolutePosition in interface be.yildizgames.common.gameobject.Movablepublic final be.yildizgames.common.geometry.Point3D getDirection()
getDirection in interface be.yildizgames.common.gameobject.Movablepublic final void setDirection(be.yildizgames.common.geometry.Point3D direction)
setDirection in interface be.yildizgames.common.gameobject.Movablepublic final be.yildizgames.common.geometry.Point3D getAbsoluteDirection()
getAbsoluteDirection in interface be.yildizgames.common.gameobject.Movablepublic final void delete()
delete in interface be.yildizgames.common.gameobject.Deletablepublic final void show()
public final void hide()
public final boolean isVisible()
true if object is currently visible.protected abstract void showImpl()
protected abstract void hideImpl()
Copyright © 2014–2018. All rights reserved.