Class: Controls

Controls

A set of controls to control the game of chess. Includes 6 buttons: goto_start, prev_move, prev_play, next_play, next_move, goto_end

Constructor

new Controls()

Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:

Methods

initialize(dict) → {Controls}

creates a new instance of this class.
This:
Parameters:
Name Type Description
dict object A hash with initial values.
Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:
Returns:
new instance of this class.
Type
Controls

toString() → {string}

toString method that allows you to get a nice printout for this type
This:
Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:
Returns:
string representation of this instance.
Type
string