Class PointView

All Implemented Interfaces:
IPointRenderable, IRenderable

public class PointView extends RenderView implements IPointRenderable
An entity view that implements the IPointRenderable methods.
  • Constructor Details

    • PointView

      public PointView()
      Creates an empty line view.
  • Method Details

    • entityCheck

      protected void entityCheck(com.badlogic.ashley.core.Entity entity)
      Description copied from class: AbstractView
      Checks whether the given entity is suitable for this view. This method should throw a RuntimeException if the entity is not suitable.
      Overrides:
      entityCheck in class BaseView
      Parameters:
      entity - The entity.
    • entityChanged

      protected void entityChanged()
      Description copied from class: AbstractView
      Contains actions to take after a new entity has been set. This method is typically used to initialize the view components.
      Overrides:
      entityChanged in class RenderView
    • entityCleared

      protected void entityCleared()
      Description copied from class: AbstractView
      This method is called when the entity of this view is cleared. It should set all component references to null.
      Overrides:
      entityCleared in class RenderView
    • blend

      public void blend()
      Specified by:
      blend in interface IPointRenderable
    • depth

      public void depth()
      Specified by:
      depth in interface IPointRenderable