Icon Class (RWE.GameOn.Core.Extensions)

Class
Icon

Usage:

Represents an image icon.

Icon

Properties:

  • visibility
    String – Sets the visibility of the icon
icon.visibility = "visible";
icon.visibility = "invisible";
  • set
    String – Path for the icon source
icon.set = "/icon.png";
icon.set = "/images/icon.ico";

Example:

including RWE.GameOn.Core.Extensions;

OverlayExtensionsRegion.create(new(extensionaccesspoint))
        {
            icon.visibility="visible";         //visible for icon, hidden for text button
            icon.set="/icon.png";              //icon for the button
            alttitle.set="Click Me!";          //hover over tooltip text for button

        }
Menu