Class BobberComponent

java.lang.Object
com.mrbysco.gonefishing.component.BobberComponent
All Implemented Interfaces:
Component<EntityStore>, Cloneable

public class BobberComponent extends Object implements Component<EntityStore>
  • Constructor Details

    • BobberComponent

      public BobberComponent()
  • Method Details

    • getComponentType

      public static ComponentType<EntityStore, BobberComponent> getComponentType()
    • getBobberAge

      public int getBobberAge()
    • setBobberAge

      public void setBobberAge(int bobberAge)
    • setCanCatch

      public void setCanCatch(boolean canCatch)
    • setCatchTimer

      public void setCatchTimer(int catchTimer)
    • getTimeUntilCatch

      public int getTimeUntilCatch()
    • setTimeUntilCatch

      public void setTimeUntilCatch(int timeUntilCatch)
    • setRandomTimeUntilCatch

      public void setRandomTimeUntilCatch()
    • getCatchTimer

      public int getCatchTimer()
    • canCatchFish

      public boolean canCatchFish()
    • clone

      public Component<EntityStore> clone()
      Specified by:
      clone in interface Component<EntityStore>
      Overrides:
      clone in class Object