Class UnitCargoLoader

All Implemented Interfaces:
Comparable<Content>, Senseable

public class UnitCargoLoader extends Block
  • Field Details

    • unitType

      public UnitType unitType
    • buildTime

      public float buildTime
    • polyStroke

      public float polyStroke
    • polyRadius

      public float polyRadius
    • polySides

      public int polySides
    • polyRotateSpeed

      public float polyRotateSpeed
    • polyColor

      public Color polyColor
  • Constructor Details

    • UnitCargoLoader

      public UnitCargoLoader(String name)
  • Method Details

    • outputsItems

      public boolean outputsItems()
      Overrides:
      outputsItems in class Block
    • setBars

      public void setBars()
      Overrides:
      setBars in class Block
    • canPlaceOn

      public boolean canPlaceOn(Tile tile, Team team, int rotation)
      Overrides:
      canPlaceOn in class Block
      Returns:
      whether this block can be placed on the specified tile.
    • drawPlace

      public void drawPlace(int x, int y, int rotation, boolean valid)
      Description copied from class: Block
      Drawn when you are placing a block.
      Overrides:
      drawPlace in class Block
    • unitTetherBlockSpawned

      public static void unitTetherBlockSpawned(Tile tile, int id)