Interface AreaInteractionVisitor


public interface AreaInteractionVisitor
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    interactWith(Interactable other, boolean isCellInteraction)
    Default interaction between something and an interactable Notice: if this method is used, then you probably forget to cast the AreaInteractionVisitor into its correct child
  • Method Details

    • interactWith

      default void interactWith(Interactable other, boolean isCellInteraction)
      Default interaction between something and an interactable Notice: if this method is used, then you probably forget to cast the AreaInteractionVisitor into its correct child
      Parameters:
      other - (Interactable): interactable to interact with, not null