Class HeapElement

All Implemented Interfaces:
Collidable
Direct Known Subclasses:
HeapElementCloud, HeapElementMountain

public abstract class HeapElement extends BackgroundElement
This class shall be extended by each heap element.
  • Field Details

  • Constructor Details

  • Method Details

    • heapDistanceMu

      protected float heapDistanceMu()
    • heapDistanceSigma

      protected float heapDistanceSigma()
    • elemNumMu

      protected float elemNumMu()
    • elemNumSigma

      protected float elemNumSigma()
    • elemColRMu

      protected int elemColRMu()
    • elemColRSigma

      protected int elemColRSigma()
    • elemColGMu

      protected int elemColGMu()
    • elemColGSigma

      protected int elemColGSigma()
    • elemColBMu

      protected int elemColBMu()
    • elemColBSigma

      protected int elemColBSigma()
    • elemColAMu

      protected int elemColAMu()
    • elemColASigma

      protected int elemColASigma()
    • elemXMu

      protected float elemXMu()
    • elemXSigma

      protected float elemXSigma()
    • elemYMu

      protected float elemYMu()
    • elemYSigma

      protected float elemYSigma()
    • elemWidthMu

      protected float elemWidthMu()
    • elemWidthSigma

      protected float elemWidthSigma()
    • elemHeightMu

      protected float elemHeightMu()
    • elemHeightSigma

      protected float elemHeightSigma()
    • internalRender

      public abstract void internalRender(GameGrid f)
      Description copied from class: GameElement

      Template method that will be called periodically after being added to a IScene. Must be as performant as possible to keep the FPS low, since it will be called in every render-loop.

      Should be overwritten in sub classes for custom visualization using the GameGrid.

      Overrides:
      internalRender in class GameElement
      Parameters:
      f - the GameGrid that represents the games field and supplies primitive drawing operations.
    • create

      public abstract HeapElement create(HeapLayer parent, Vec pos, Vec size, RGBAColor col)