Class AnimatedEntity


  • public class AnimatedEntity
    extends Object
    Class that represents an animated entity in the world
    Author:
    Darius Dinger
    • Constructor Detail

      • AnimatedEntity

        public AnimatedEntity()
    • Method Detail

      • setModel

        public void setModel​(String model)
        Parameters:
        model - New model of the entity
      • getTransform

        public Transformation getTransform()
        Returns:
        Read/writeable transformation of the entity
      • getModel

        public String getModel()
        Returns:
        Model of the entity
      • getSkeleton

        public Joint getSkeleton()
        Returns:
        Root joint of the models skeleton
      • getPickColor

        public Color getPickColor()
        Returns:
        Color of this Entity in the mouse picker
      • isMouseOver

        public boolean isMouseOver()
        Returns true if mouse is over entity.
        Only works, if picking is enabled!!!
        Returns:
        Is mouse over entity