Class InterfaceContainer

    • Constructor Detail

      • InterfaceContainer

        public InterfaceContainer​(long uid,
                                  int index)
    • Method Detail

      • getIndex

        public final int getIndex()
      • isValid

        public final boolean isValid()
        Description copied from interface: Validatable
        Verifies whether this entity is valid and still exists, typically on the world-graph
        Specified by:
        isValid in interface Validatable
        Returns:
        true if it's still available, otherwise false
      • render

        public void render​(java.awt.Graphics2D g2d)
        Description copied from interface: Renderable
        Renders this entity onto the given Graphics2D, use is discouraged
        Specified by:
        render in interface Renderable
      • render

        public void render​(javafx.scene.canvas.GraphicsContext gc)
        Description copied from interface: Renderable
        Renders this entity onto the given GraphicsContext
        Specified by:
        render in interface Renderable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object