Variable Summary Table
|number multipleKeyPressTimer||The maximum number of seconds allowed between each key press before the press is no longer considered related to the previous key press. This is used for things like capturing double-taps on keys.|
|text canvasID||The ID of the canvas to use for rendering the Game.|
|boolean disableContextMenu||If disableContextMenu is set to true, right-clicking on the game canvas will not open the context menu. If it is set to false, it will open the context menu normally. This value is set to true by default.|
|boolean capFramesPerSecond||Whether or not the Game should be limited to the given number of frames per second. This will not guarantee that the Game will run at the given FPS, only that it will not run at more than the framesPerSecondLimit value. This value is false by default.|
|integer framesPerSecondLimit||The upper limit for how many frames per second the Game should run at, if capFramesPerSecond is set to true. If capFramesPerSecond is set to false, this will have no effect. The default value for this field is 30.|
|boolean keepTabFocus||The keepTabFocus flag controls how a game responds to the Tab key. Online games must have the focus to receive input (the user has either clicked on the game window or tabbed to it). If keepTabFocus is false and the user presses the Tab key, the window will lose focus. If it is true, the window will keep the focus even if the user presses Tab.|
|number multipleClickTimer||The maximum number of seconds allowed between each mouse click before the click is no longer considered related to the previous click. This is used for things such as double-click input.|
Actions Summary Table
|Compare(Libraries.Language.Object object)||This action compares two object hash codes and returns a CompareResult.|
|Equals(Libraries.Language.Object object)||This action determines if two objects are equal based on their hash code values.|
|GetHashCode()||This action gets the hash code for an object.|
This action compares two object hash codes and returns a CompareResult. The compare result is either larger if this hash code is larger than the object passed as a parameter, smaller, or equal.
use Libraries.Language.Support.CompareResult Object o Object t CompareResult result = o:Compare(t)
- Libraries.Language.Object: The object to compare to.
Libraries.Language.Support.CompareResult: The Compare result, Smaller, Equal, or Larger.
This action determines if two objects are equal based on their hash code values.
use Libraries.Language.Object use Libraries.Language.Types.Text Object o Text t boolean result = o:Equals(t)
- Libraries.Language.Object: The to be compared.
boolean: True if the hash codes are equal and false if they are not equal.
This action gets the hash code for an object.
Object o integer hash = o:GetHashCode()
integer: The integer hash code of the object.