nl_tokens: ---------------------------------------------------------------------------- // Constructor Screen // ---------------------------------------------------------------------------- // //////////////////////////////////////////////////////////////////////////////
pl_tokens: function Screen ( bounds , usable ) { // Auto instantiate the Screen if ( ! ( this instanceof Screen ) ) return <mask> Screen ( bounds , usable ) ; // Check if using defaults if ( bounds === undefined && usable === undefined ) { this . _bounds = robot . Bounds ( ) ; this . _usable = robot . Bounds ( ) ; return ; } // Check if assigning bounds values if ( bounds instanceof robot . Bounds && usable instanceof robot . Bounds ) { this . _bounds = bounds ; this . _usable = usable ; return ; } throw new TypeError ( "Invalid arguments" ) ; }