All Implemented Interfaces:
IContext

public class AreaContext extends PlayerContext
  • Field Details

    • area

      private final AABB area
  • Constructor Details

    • AreaContext

      public AreaContext(Player ep, AABB aabb)
  • Method Details

    • get

      @Nullable public <T> T get(ContextKey<T> key)
      Specified by:
      get in interface IContext
      Overrides:
      get in class Context
      Parameters:
      key - Context key
      Returns:
      Context object
    • covers

      protected boolean covers(ContextKey<?> key)
      Overrides:
      covers in class Context