Class PinnableWindow

All Implemented Interfaces:
Globals, org.rusherhack.core.bind.IBindable, org.rusherhack.core.feature.IFeature, org.rusherhack.core.feature.IFeatureConfigurable, org.rusherhack.core.interfaces.IClickable, org.rusherhack.core.interfaces.IDraggable, org.rusherhack.core.interfaces.IHideable, org.rusherhack.core.interfaces.IHoverable, org.rusherhack.core.interfaces.INamed, org.rusherhack.core.interfaces.IPinnable, org.rusherhack.core.interfaces.IScrollable, org.rusherhack.core.interfaces.ITickable, org.rusherhack.core.interfaces.ITypeable, org.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>, org.rusherhack.core.serialize.JsonSerializable
Direct Known Subclasses:
ResizeableWindow

public abstract class PinnableWindow extends Window implements org.rusherhack.core.interfaces.IPinnable
A window that can be pinned to the screen
  • Constructor Details

    • PinnableWindow

      public PinnableWindow(String title, double width, double height)
    • PinnableWindow

      public PinnableWindow(String title, double x, double y, double width, double height)
  • Method Details

    • isPinned

      public boolean isPinned()
      Specified by:
      isPinned in interface org.rusherhack.core.interfaces.IPinnable
    • setPinned

      public void setPinned(boolean pinned)
      Specified by:
      setPinned in interface org.rusherhack.core.interfaces.IPinnable
    • serialize

      public com.google.gson.JsonElement serialize()
      Specified by:
      serialize in interface org.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>
      Overrides:
      serialize in class Window
    • deserialize

      public boolean deserialize(com.google.gson.JsonElement jsonElement)
      Specified by:
      deserialize in interface org.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>
      Overrides:
      deserialize in class Window