Class DummyGraphicObject
- java.lang.Object
-
- be.yildizgames.module.graphic.GraphicObject
-
- be.yildizgames.module.graphic.dummy.DummyGraphicObject
-
- All Implemented Interfaces:
be.yildizgames.common.gameobject.Deletable,be.yildizgames.common.gameobject.Movable
public class DummyGraphicObject extends GraphicObject
-
-
Constructor Summary
Constructors Constructor Description DummyGraphicObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(be.yildizgames.common.gameobject.Movable movable)voidaddOptionalChild(be.yildizgames.common.gameobject.Movable movable)voidattachTo(be.yildizgames.common.gameobject.Movable movable)voidattachToOptional(be.yildizgames.common.gameobject.Movable movable)protected voidcastShadowImpl(boolean cast)Set the object casting shadow in implementation.voiddelete()voiddetachFromParent()be.yildizgames.common.geometry.Point3DgetAbsoluteDirection()be.yildizgames.common.geometry.Point3DgetAbsolutePosition()be.yildizgames.common.geometry.Point3DgetDirection()be.yildizgames.common.gameobject.MovablegetInternal()be.yildizgames.common.geometry.Point3DgetPosition()be.yildizgames.common.geometry.Point3DgetScaleSize()protected voidhideImpl()Hide the object in implementation.voidlookAt(be.yildizgames.common.geometry.Point3D target)voidremoveChild(be.yildizgames.common.gameobject.Movable movable)voidrotate(float yaw, float pitch)voidrotate(float x, float y, float z, float w)GraphicObjectscale(float x, float y, float z)voidsetDirection(float v, float v1, float v2)voidsetDirection(be.yildizgames.common.geometry.Point3D point3D)protected voidsetMaterialImpl(Material newMaterial)Set the material in implementation.GraphicObjectsetParameter(int index, float v1, float v2, float v3, float v4)voidsetPosition(float v, float v1, float v2)voidsetPosition(be.yildizgames.common.geometry.Point3D point3D)GraphicObjectsetRenderBehind()GraphicObjectsetRenderingDistance(int distance)GraphicObjectsetUnpickable()protected voidshowImpl()Show the object in implementation.-
Methods inherited from class be.yildizgames.module.graphic.GraphicObject
hide, isCastingShadow, isVisible, setCastShadow, setMaterial, show
-
-
-
-
Method Detail
-
setMaterialImpl
protected void setMaterialImpl(Material newMaterial)
Description copied from class:GraphicObjectSet the material in implementation.- Specified by:
setMaterialImplin classGraphicObject- Parameters:
newMaterial- New material to use.
-
castShadowImpl
protected void castShadowImpl(boolean cast)
Description copied from class:GraphicObjectSet the object casting shadow in implementation.- Specified by:
castShadowImplin classGraphicObject- Parameters:
cast-trueto cast shadow,falseto stop casting.
-
showImpl
protected void showImpl()
Description copied from class:GraphicObjectShow the object in implementation.- Specified by:
showImplin classGraphicObject
-
hideImpl
protected void hideImpl()
Description copied from class:GraphicObjectHide the object in implementation.- Specified by:
hideImplin classGraphicObject
-
setRenderBehind
public GraphicObject setRenderBehind()
- Specified by:
setRenderBehindin classGraphicObject
-
setRenderingDistance
public GraphicObject setRenderingDistance(int distance)
- Specified by:
setRenderingDistancein classGraphicObject
-
getScaleSize
public be.yildizgames.common.geometry.Point3D getScaleSize()
- Specified by:
getScaleSizein classGraphicObject
-
scale
public GraphicObject scale(float x, float y, float z)
- Specified by:
scalein classGraphicObject
-
delete
public void delete()
-
setParameter
public GraphicObject setParameter(int index, float v1, float v2, float v3, float v4)
- Specified by:
setParameterin classGraphicObject
-
setUnpickable
public GraphicObject setUnpickable()
- Specified by:
setUnpickablein classGraphicObject
-
rotate
public void rotate(float yaw, float pitch)- Specified by:
rotatein classGraphicObject
-
lookAt
public void lookAt(be.yildizgames.common.geometry.Point3D target)
- Specified by:
lookAtin classGraphicObject
-
rotate
public void rotate(float x, float y, float z, float w)- Specified by:
rotatein classGraphicObject
-
attachTo
public void attachTo(be.yildizgames.common.gameobject.Movable movable)
-
attachToOptional
public void attachToOptional(be.yildizgames.common.gameobject.Movable movable)
-
detachFromParent
public void detachFromParent()
-
getPosition
public be.yildizgames.common.geometry.Point3D getPosition()
-
setPosition
public void setPosition(be.yildizgames.common.geometry.Point3D point3D)
-
getAbsolutePosition
public be.yildizgames.common.geometry.Point3D getAbsolutePosition()
-
getDirection
public be.yildizgames.common.geometry.Point3D getDirection()
-
setDirection
public void setDirection(be.yildizgames.common.geometry.Point3D point3D)
-
getAbsoluteDirection
public be.yildizgames.common.geometry.Point3D getAbsoluteDirection()
-
setPosition
public void setPosition(float v, float v1, float v2)
-
setDirection
public void setDirection(float v, float v1, float v2)
-
addOptionalChild
public void addOptionalChild(be.yildizgames.common.gameobject.Movable movable)
-
addChild
public void addChild(be.yildizgames.common.gameobject.Movable movable)
-
removeChild
public void removeChild(be.yildizgames.common.gameobject.Movable movable)
-
getInternal
public be.yildizgames.common.gameobject.Movable getInternal()
-
-