MCPcopy Create free account

hub / github.com/blockly-games/blockly-games / functions

Functions453 in github.com/blockly-games/blockly-games

↓ 2 callersFunctionturn
* Turn pegman left or right. * @param {number} direction Direction to turn (0 = left, 1 = right). * @param {string} id ID of block that triggered th
appengine/maze/src/main.js:1421
↓ 2 callersMethodupdateGraph_
* Redraw the pitch picker with the current pitch. * @private
appengine/music/src/field_pitch.js:212
↓ 1 callersMethodGetDependencies
Get source dependencies, in order, for the given namespaces. Args: required_namespaces: A string (for one) or list (for one or more) of
third-party/closurebuilder/depstree.py:50
↓ 1 callersFunctionS
(a)
appengine/common/prettify.js:2
↓ 1 callersFunctionScanTree
Scans a directory tree for files. Args: root: str, Path to a root directory. path_filter: A regular expression filter. If set, only paths
third-party/closurebuilder/treescan.py:42
↓ 1 callersFunctionT
(a,d)
appengine/common/prettify.js:6
↓ 1 callersFunctionU
(a)
appengine/common/prettify.js:7
↓ 1 callersFunction_GetClosureBaseFile
Given a set of sources, returns the one base.js file. Note that if zero or two or more base.js files are found, an error message will be written
third-party/closurebuilder/closurebuilder.py:106
↓ 1 callersFunction_GetInputByPath
Get the source identified by a path. Args: path: str, A path to a file that identifies a source. sources: An iterable collection of source
third-party/closurebuilder/closurebuilder.py:89
↓ 1 callersFunction_GetOptionsParser
Get the options parser.
third-party/closurebuilder/closurebuilder.py:45
↓ 1 callersMethod_HasProvideGoogFlag
Determines whether the @provideGoog flag is in a comment.
third-party/closurebuilder/source.py:73
↓ 1 callersFunction_IsClosureBaseFile
Returns true if the given _PathSource is the Closure base.js source.
third-party/closurebuilder/closurebuilder.py:133
↓ 1 callersMethod_ResolveDependencies
Resolve dependencies for Closure source files. Follows the dependency tree down and builds a list of sources in dependency order. This funct
third-party/closurebuilder/depstree.py:79
↓ 1 callersMethod_ScanSource
Fill in provides and requires by scanning the source.
third-party/closurebuilder/source.py:81
↓ 1 callersMethod_StripComments
(cls, source)
third-party/closurebuilder/source.py:69
↓ 1 callersMethodangleDx
* For a given angle and radius, finds the X portion of the offset. * Copied from Closure's goog.math.angleDx. * @param {number} degrees Angle in
appengine/pond/src/avatar.js:297
↓ 1 callersMethodangleDy
* For a given angle and radius, finds the Y portion of the offset. * Copied from Closure's goog.math.angleDy. * @param {number} degrees Angle in
appengine/pond/src/avatar.js:308
↓ 1 callersFunctionanimate
* Animate a block moving around after the puzzle is complete. * @param {!Blockly.Block} block Block to move. * @param {number} angleOffset Degrees o
appengine/puzzle/src/main.js:270
↓ 1 callersMethodanimateValue_
* Animates the slider's value (0.0 - 1.0). * @param {number} value New value. * @private
appengine/src/slider.js:199
↓ 1 callersMethodanimateValue_
* Animates the slider's value (0.0 - 1.0). * @param {number} value New value. * @private
appengine/movie/src/scrubber.js:305
↓ 1 callersFunctionanswer
* Sample solutions for each level. * To create an answer, just solve the level in Blockly, then paste the * resulting JavaScript here, moving any fu
appengine/turtle/src/main.js:884
↓ 1 callersFunctionanswer
* Sample solutions for each level. * To create an answer, just solve the level in Blockly, then paste the * resulting JavaScript here, moving any fu
appengine/movie/src/main.js:624
↓ 1 callersFunctionbindClick
* Bind a function to a button's click event. * On touch-enabled browsers, ontouchend is treated as equivalent to onclick. * @param {Element} el Butt
appengine/pond/docs/docs.js:35
↓ 1 callersFunctionblink
()
appengine/puzzle/src/main.js:232
↓ 1 callersMethodcannon
* Commands the avatar to shoot in the specified heading at the specified range. * @param {number} degree Heading (0-360). * @param {number} rang
appengine/pond/src/avatar.js:259
↓ 1 callersFunctionchange
()
appengine/src/lib-dialogs.js:288
↓ 1 callersFunctionchangeAvatar
* Called by the avatar selector when changed.
appengine/pond/duck/src/main.js:168
↓ 1 callersFunctionchangePegman
* Reload with a different Pegman skin. * @param {number} newSkin ID of new skin.
appengine/maze/src/main.js:745
↓ 1 callersFunctioncheckAnswer
* Verify if the answer is correct. * If so, move on to next level.
appengine/turtle/src/main.js:832
↓ 1 callersFunctioncheckAnswer
* Verify if the answer is correct. * If so, move on to next level.
appengine/music/src/main.js:942
↓ 1 callersFunctioncheckFrameAnswer
* Verify if the answer to this frame is correct.
appengine/movie/src/main.js:543
↓ 1 callersFunctioncodeChange
* Generate new JavaScript if the code has changed. * @param {!Blockly.Events.Abstract=} opt_e Change event.
appengine/movie/src/main.js:353
↓ 1 callersFunctiondrawAnswer
* On startup draw the expected answer and save it to the answer canvas.
appengine/turtle/src/main.js:436
↓ 1 callersFunctiondrawAnswer
* On startup draw the expected answer and save it to the answer canvas.
appengine/music/src/main.js:391
↓ 1 callersFunctiondrawFont
* Change the typeface of printed text. * @param {string} font Font name (e.g. 'Arial'). * @param {number} size Font size (e.g. 18). * @param {strin
appengine/turtle/src/main.js:823
↓ 1 callersFunctiondrawGauge
* Draw the gauge for an app. * @param {string} app Name of application. * @param {number} angle Angle of gauge in degrees.
appengine/index/src/main.js:90
↓ 1 callersFunctiondrawMap
* Create and layout all the nodes for the path, scenery, Pegman, and goal.
appengine/maze/src/main.js:298
↓ 1 callersFunctiondrawMap
* Create and layout all the nodes for the walls, nest, worm, and bird.
appengine/bird/src/main.js:237
↓ 1 callersFunctiondrawPrint
* Print some text. * @param {string} text Text to print. * @param {string=} opt_id ID of block.
appengine/turtle/src/main.js:807
↓ 1 callersMethoddrive
* Commands the avatar to move in the specified heading at the specified speed. * @param {number} degree Heading (0-360). * @param {number} opt_s
appengine/pond/src/avatar.js:216
↓ 1 callersMethoddropdownCreate_
* Create the pitch picker. * @returns {!Element} The newly created pitch picker. * @private
appengine/music/src/field_pitch.js:102
↓ 1 callersFunctionexecute
* Execute the user's code. Heaven help us...
appengine/turtle/src/main.js:652
↓ 1 callersFunctionexecute
* Execute the user's code. Heaven help us...
appengine/music/src/main.js:594
↓ 1 callersFunctionexecute
* Execute the user's code. Heaven help us...
appengine/maze/src/main.js:991
↓ 1 callersFunctionexecute
* Execute the user's code. Heaven help us...
appengine/bird/src/main.js:675
↓ 1 callersFunctionexecuteChunk_
* Execute a bite-sized chunk of the user's code. * @param {!Thread} thread Thread to execute. * @private
appengine/music/src/main.js:676
↓ 1 callersFunctiongetAvatarData
* Get the data for the avatars to be loaded into the current level. * @param {!Array<!Object>}
appengine/pond/tutor/src/main.js:172
↓ 1 callersFunctionhandlerFactory
(n)
appengine/maze/src/main.js:434
↓ 1 callersFunctionheading
* Attempt to move the bird in the specified direction. * @param {number} angle Direction to move (0 = east, 90 = north). * @param {string} id ID of
appengine/bird/src/main.js:891
↓ 1 callersFunctionhideCoordinates
* Hide the x/y coordinates. * @param {Event} e Mouse out event.
appengine/movie/src/main.js:176
↓ 1 callersFunctionhidePegmanMenu
* Hide the Pegman skin-change menu. * @param {!Event} e Mouse, touch, or resize event.
appengine/maze/src/main.js:788
↓ 1 callersFunctioninit
* Initialize Blockly and the maze. Called on page load.
appengine/maze/src/main.js:414
↓ 1 callersFunctioninitExpectedAnswer
* Compute the expected answer for this level.
appengine/music/src/main.js:896
↓ 1 callersMethodinitInterpreter
* Create an interpreter for this avatar.
appengine/pond/src/avatar.js:121
↓ 1 callersFunctionintersectNest
* Has the bird intersected the nest? * @returns {boolean} True if the bird found the nest, false otherwise.
appengine/bird/src/main.js:821
↓ 1 callersFunctionintersectWall
* Has the bird intersected a wall? * @returns {boolean} True if the bird hit a wall, false otherwise.
appengine/bird/src/main.js:842
↓ 1 callersFunctionintersectWorm
* Has the bird intersected the worm? * @returns {boolean} True if the bird found the worm, false otherwise.
appengine/bird/src/main.js:830
↓ 1 callersFunctionisCorrect
* Validate whether the user's answer is correct. * @param {number} pixelErrors Number of pixels that are wrong. * @returns {boolean} True if the lev
appengine/turtle/src/main.js:1029
↓ 1 callersFunctionisCorrect
* Validate whether the user's answer is correct. * @returns {boolean} True if the level is solved, false otherwise.
appengine/movie/src/main.js:774
↓ 1 callersFunctionkeyGen
()
appengine/storage.py:30
↓ 1 callersFunctionkeyToXml
(key_provided)
appengine/storage.py:63
↓ 1 callersMethodknobMouseUp_
* Stop a drag when clicking up anywhere. * @param {Event} e Mouse-up event. * @private
appengine/src/slider.js:124
↓ 1 callersMethodknobMouseUp_
* Stop a drag when clicking up anywhere. * @param {Event} e Mouse-up event. * @private
appengine/movie/src/scrubber.js:181
↓ 1 callersFunctionlevelHelp
* When the workspace changes, update the help as needed.
appengine/bird/src/main.js:450
↓ 1 callersFunctionmain
()
third-party/closurebuilder/closurebuilder.py:170
↓ 1 callersMethodnextFrame_
* Start the visualization running. * @private
appengine/movie/src/scrubber.js:276
↓ 1 callersFunctionnextNode
* Walk from one node to the next in a tree. * @param {!Node} node Current node. * @returns {Node} Next node, or null if ran off bottom of tree.
appengine/turtle/src/main.js:342
↓ 1 callersFunctionnoteFactory
* Create a dropdown option for a note. * @param {number} denominator Inverse duration of note. * @returns {!Object} Dropdown option.
appengine/music/src/blocks.js:52
↓ 1 callersMethodnoteToValue
* Convert the human-readable text (C3-A4) to machine-readable value (0-12). * @param {string} text The provided pitch. * @returns {number|undefi
appengine/music/src/field_pitch.js:160
↓ 1 callersFunctiononresize
(_e)
appengine/puzzle/src/main.js:40
↓ 1 callersFunctionpenWidth
* Change the thickness of lines. * @param {number} width New thickness in pixels. * @param {string=} opt_id ID of block.
appengine/turtle/src/main.js:776
↓ 1 callersFunctionplay
* Play one note. * @param {number} duration Fraction of a whole note length to play. * @param {number} pitch Note number to play (0-12). * @param {
appengine/music/src/main.js:780
↓ 1 callersFunctionpointsToAngle
* Computes the angle between two points (x1,y1) and (x2,y2). * Angle zero points in the +X direction, 90 degrees points in the +Y * direction (down)
appengine/puzzle/src/main.js:348
↓ 1 callersFunctionpointsToAngle
* Computes the angle between two points (x1,y1) and (x2,y2). * Angle zero points in the +X direction, 90 degrees points in the +Y * direction (down)
appengine/bird/src/main.js:879
↓ 1 callersMethodpointsToAngle
* Computes the angle between two points (x1,y1) and (x2,y2). * Angle zero points in the +X direction, 90 degrees points in the +Y * direction (d
appengine/pond/src/avatar.js:324
↓ 1 callersFunctionprettyPrintOne
(code, language)
externs/prettify-externs.js:12
↓ 1 callersFunctionrenderAxies_
* On startup draw the axis scales and save it to the axies canvas. * @private
appengine/movie/src/main.js:295
↓ 1 callersFunctionrenderHatching_
* On startup draw hatching that will be displayed across the answers. * @private
appengine/movie/src/main.js:279
↓ 1 callersMethodscan
* Scan in a direction for the nearest avatar. * @param {number} degree Scan in this direction (wrapped to 0-360). * @param {number} opt_resoluti
appengine/pond/src/avatar.js:157
↓ 1 callersFunctionscheduleLookStep
* Schedule one of the 'look' icon's waves to appear, then disappear. * @param {!Element} path Element to make appear. * @param {number} delay Millis
appengine/maze/src/main.js:1343
↓ 1 callersFunctionsetInstrument
* Switch to a new instrument. * @param {string} instrument Name of new instrument.
appengine/music/src/main.js:883
↓ 1 callersFunctionsetPosition
(n)
appengine/maze/src/main.js:1237
↓ 1 callersFunctionsingleReplica
(a)
appengine/music/src/main.js:902
↓ 1 callersFunctiontabHandler
(selectedIndex)
appengine/pond/duck/src/main.js:79
↓ 1 callersMethodtoString
* A text representation of this avatar for debugging purposes. * @returns {string} String representation.
appengine/pond/src/avatar.js:83
↓ 1 callersFunctionxmlToKey
(xml_content)
appengine/storage.py:42
FunctionElementTimeControl
* @interface
externs/svg-externs.js:9255
FunctionGetFileContents
Get a file's contents as a string. Args: path: str, Path to file. Returns: str, Contents of file. Raises: IOError: An error occur
third-party/closurebuilder/source.py:110
FunctionInterpreter
(code, opt_initFunc)
externs/interpreter-externs.js:14
FunctionOnError
(os_error)
third-party/closurebuilder/treescan.py:56
FunctionSVGAElement
* @constructor * @extends {SVGElement} * @implements {SVGURIReference} * @implements {SVGTests} * @implements {SVGLangSpace} * @implements {SVGEx
externs/svg-externs.js:8649
FunctionSVGAltGlyphDefElement
* @constructor * @extends {SVGElement}
externs/svg-externs.js:4701
FunctionSVGAltGlyphElement
* @constructor * @extends {SVGTextPositioningElement} * @implements {SVGURIReference}
externs/svg-externs.js:2366
FunctionSVGAltGlyphItemElement
* @constructor * @extends {SVGElement}
externs/svg-externs.js:3488
FunctionSVGAngle
* @constructor
externs/svg-externs.js:9425
FunctionSVGAnimateColorElement
* @constructor * @extends {SVGAnimationElement}
externs/svg-externs.js:9402
FunctionSVGAnimateElement
* @constructor * @extends {SVGAnimationElement}
externs/svg-externs.js:9394
FunctionSVGAnimateMotionElement
* @constructor * @extends {SVGAnimationElement}
externs/svg-externs.js:9386
FunctionSVGAnimateTransformElement
* @constructor * @extends {SVGAnimationElement}
externs/svg-externs.js:9410
FunctionSVGAnimatedAngle
* @constructor
externs/svg-externs.js:1034
← previousnext →101–200 of 453, ranked by callers