Class DummyGraphicObject

  • All Implemented Interfaces:
    be.yildizgames.common.gameobject.Deletable, be.yildizgames.common.gameobject.Movable

    public class DummyGraphicObject
    extends GraphicObject
    • Constructor Detail

      • DummyGraphicObject

        public DummyGraphicObject()
    • Method Detail

      • setMaterialImpl

        protected void setMaterialImpl​(Material newMaterial)
        Description copied from class: GraphicObject
        Set the material in implementation.
        Specified by:
        setMaterialImpl in class GraphicObject
        Parameters:
        newMaterial - New material to use.
      • castShadowImpl

        protected void castShadowImpl​(boolean cast)
        Description copied from class: GraphicObject
        Set the object casting shadow in implementation.
        Specified by:
        castShadowImpl in class GraphicObject
        Parameters:
        cast - true to cast shadow, false to stop casting.
      • getScaleSize

        public be.yildizgames.common.geometry.Point3D getScaleSize()
        Specified by:
        getScaleSize in class GraphicObject
      • delete

        public void delete()
      • rotate

        public void rotate​(float yaw,
                           float pitch)
        Specified by:
        rotate in class GraphicObject
      • lookAt

        public void lookAt​(be.yildizgames.common.geometry.Point3D target)
        Specified by:
        lookAt in class GraphicObject
      • rotate

        public void rotate​(float x,
                           float y,
                           float z,
                           float w)
        Specified by:
        rotate in class GraphicObject
      • 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()