Interface ViewContext

All Known Implementing Classes:
DefaultViewContext

public interface ViewContext
Context associated with a single player's active view (menu). Supports both typed keys and simple string keys.
  • Method Details

    • set

      <T> void set(ViewKey<T> key, T value)
    • get

      <T> T get(ViewKey<T> key)
    • set

      void set(String key, Object value)
    • get

      Object get(String key)
    • get

      <T> T get(String key, Class<T> type)
    • contains

      boolean contains(String key)
    • asUnmodifiableMap

      Map<String,Object> asUnmodifiableMap()
      Read-only snapshot of simple string-backed values. Typed entries are NOT included here.