Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UBCx-Software-Engineering/screencastmario
/ functions
Functions
683 in github.com/UBCx-Software-Engineering/screencastmario
⨍
Functions
683
◇
Types & classes
162
↓ 139 callers
Method
extend
* Merge the contents of two or more objects together into the first object. * * @param target An object that will receive the new properties
src/def/jquery.d.ts:1086
↓ 112 callers
Method
css
* Get the value of style properties for the first element in the set of matched elements. * * @param propertyName A CSS property.
src/def/jquery.d.ts:1554
↓ 112 callers
Method
each
* Iterate over a jQuery object, executing a function for each matched element. * * @param func A function to execute for each matched eleme
src/def/jquery.d.ts:3504
↓ 83 callers
Method
setImage
(img: string, x: number, y: number)
src/engine/Base.ts:52
↓ 64 callers
Method
isFunction
* Determine if the argument passed is a Javascript function object. * * @param obj Object to test whether or not it is a function.
src/def/jquery.d.ts:1139
↓ 62 callers
Method
then
* Incorporates the functionality of the .done() and .fail() methods, allowing (as of jQuery 1.8) the underlying Promise to be manipulated. Refer to de
src/def/jquery.d.ts:179
↓ 36 callers
Method
filter
* Reduce the set of matched elements to those that match the selector or pass the function's test. * * @param selector A string containing
src/def/jquery.d.ts:3642
↓ 34 callers
Method
setupFrames
(fps: number, frames: number, rewind: boolean, id?: string)
src/engine/Base.ts:69
↓ 32 callers
Method
setImage
(img: string, x: number = 0, y: number = 0)
src/matter/Matter.ts:35
↓ 30 callers
Method
playSound
(label: string)
src/engine/Level.ts:160
↓ 27 callers
Function
m
(b,c)
assets/lib/require.js:7
↓ 26 callers
Method
get
* Retrieve one of the elements matched by the jQuery object. * * @param index A zero-based integer indicating which element to retrieve.
src/def/jquery.d.ts:3511
↓ 26 callers
Method
isArray
* Determine whether the argument is an array. * * @param obj Object to test whether or not it is an array.
src/def/jquery.d.ts:1127
↓ 26 callers
Method
resolve
* Resolve a Deferred object and call any doneCallbacks with the given args. * * @param value First argument passed to doneCallbacks. *
src/def/jquery.d.ts:501
↓ 25 callers
Method
setImage
(img: string, x: number = 0, y: number = 0)
src/figures/Figure.ts:83
↓ 24 callers
Method
clearFrames
()
src/engine/Base.ts:84
↓ 24 callers
Method
pushStack
* Add a collection of DOM elements onto the jQuery stack. * * @param elements An array of elements to push onto the stack and make into a n
src/def/jquery.d.ts:3012
↓ 23 callers
Method
remove
* Remove the set of matched elements from the DOM. * * @param selector A selector expression that filters the set of matched elements to be
src/def/jquery.d.ts:3327
↓ 22 callers
Method
add
* Add elements to the set of matched elements. * * @param selector A string representing a selector expression to find additional elements
src/def/jquery.d.ts:3558
↓ 22 callers
Method
data
* Store arbitrary data associated with the matched elements. * * @param key A string naming the piece of data to set. * @param value Th
src/def/jquery.d.ts:1823
↓ 22 callers
Method
trigger
* Execute all handlers and behaviors attached to the matched elements for the given event type. * * @param eventType A string containing a
src/def/jquery.d.ts:2894
↓ 20 callers
Function
c
(a,k,b)
assets/lib/require.js:8
↓ 20 callers
Method
error
* Bind an event handler to the "error" JavaScript event. (DEPRECATED from v1.8) * * @param handler A function to execute when the event is
src/def/jquery.d.ts:2998
↓ 20 callers
Method
map
* Pass each element in the current matched set through a function, producing a new jQuery object containing the return values. * * @param c
src/def/jquery.d.ts:3734
↓ 19 callers
Method
die
()
src/figures/Plant.ts:30
↓ 19 callers
Method
on
* Attach an event handler function for one or more events to the selected elements. * * @param events One or more space-separated event type
src/def/jquery.d.ts:2715
↓ 19 callers
Method
slice
* Reduce the set of matched elements to a subset specified by a range of indices. * * @param start An integer indicating the 0-based positi
src/def/jquery.d.ts:3887
↓ 18 callers
Method
getGridHeight
()
src/engine/Level.ts:152
↓ 18 callers
Method
off
* Remove an event handler.
src/def/jquery.d.ts:2685
↓ 18 callers
Method
setVelocity
(vx: number, vy: number)
src/figures/Plant.ts:26
↓ 18 callers
Function
v
(b,c)
assets/lib/require.js:7
↓ 17 callers
Method
insertBefore
* Insert every element in the set of matched elements before the target. * * param target A selector, element, array of elements, HTML stri
src/def/jquery.d.ts:3229
↓ 16 callers
Method
contains
* Check to see if a DOM element is a descendant of another DOM element. * * @param container The DOM element that may contain the other ele
src/def/jquery.d.ts:1055
↓ 16 callers
Method
find
* Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. * * @param
src/def/jquery.d.ts:3667
↓ 16 callers
Method
removeData
* Remove a previously-stored piece of data. * * @param name A string naming the piece of data to delete or space-separated string naming the
src/def/jquery.d.ts:1853
↓ 16 callers
Method
setSize
(width: number, height: number)
src/engine/Base.ts:60
↓ 16 callers
Method
show
* Display the matched elements. * * @param duration A string or number determining how long the animation will run. * @param complete A
src/def/jquery.d.ts:2115
↓ 15 callers
Method
trim
* Remove the whitespace from the beginning and end of a string. * * @param str Remove the whitespace from the beginning and end of a string
src/def/jquery.d.ts:1224
↓ 14 callers
Method
grep
* Finds the elements of an array which satisfy a filter function. The original array is not affected. * * @param array The array to search t
src/def/jquery.d.ts:1111
↓ 14 callers
Method
isWindow
* Determine whether the argument is a window. * * @param obj Object to test whether or not it is a window.
src/def/jquery.d.ts:1157
↓ 14 callers
Method
makeArray
* Convert an array-like object into a true JavaScript array. * * @param obj Any object to turn into a native Array.
src/def/jquery.d.ts:1170
↓ 14 callers
Method
promise
* Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished. * * @param ty
src/def/jquery.d.ts:1867
↓ 14 callers
Method
queue
* Show the queue of functions to be executed on the matched elements. * * @param queueName A string containing the name of the queue. Defau
src/def/jquery.d.ts:3894
↓ 13 callers
Function
p
(a, k,b,f)
assets/lib/require.js:10
↓ 13 callers
Function
t
(b,c)
assets/lib/require.js:7
↓ 12 callers
Method
Callbacks
* A multi-purpose callbacks list object that provides a powerful way to manage callback lists. * * @param flags An optional list of space-se
src/def/jquery.d.ts:815
↓ 12 callers
Method
append
* Insert content, specified by the parameter, to the end of each element in the set of matched elements. * * param content1 DOM element, ar
src/def/jquery.d.ts:3070
↓ 12 callers
Method
hide
* Hide the matched elements. * * @param duration A string or number determining how long the animation will run. * @param complete A fu
src/def/jquery.d.ts:2078
↓ 12 callers
Method
inArray
* Search for a specified value within an array and return its index (or -1 if not found). * * @param value The value to search for. * @
src/def/jquery.d.ts:1120
↓ 12 callers
Method
preventDefault
()
src/def/jquery.d.ts:530
↓ 12 callers
Method
ready
* Specify a function to execute when the DOM is fully loaded. * * @param handler A function to execute after the DOM is ready.
src/def/jquery.d.ts:2814
↓ 12 callers
Method
type
* Determine the internal JavaScript [[Class]] of an object. * * @param obj Object to get the internal JavaScript [[Class]] of.
src/def/jquery.d.ts:1231
↓ 12 callers
Function
u
(b,c)
assets/lib/require.js:8
↓ 12 callers
Method
val
* Get the current value of the first element in the set of matched elements.
src/def/jquery.d.ts:1499
↓ 11 callers
Function
getMapMatch
(map, name)
assets/lib/system.src.js:1426
↓ 11 callers
Method
setPosition
(x: number, y: number)
src/engine/Base.ts:43
↓ 10 callers
Method
animate
* Perform a custom animation of a set of CSS properties. * * @param properties An object of CSS properties and values that the animation wil
src/def/jquery.d.ts:1876
↓ 10 callers
Method
clone
* Create a deep copy of the set of matched elements. * * param withDataAndEvents A Boolean indicating whether event handlers and data shoul
src/def/jquery.d.ts:3179
↓ 10 callers
Function
d
(a)
assets/lib/require.js:10
↓ 10 callers
Method
dequeue
* Execute the next function on the queue for the matched elements. * * @param queueName A string containing the name of the queue. Defaults
src/def/jquery.d.ts:1846
↓ 10 callers
Method
hurt
(from: Figure)
src/figures/Enemy.ts:78
↓ 10 callers
Method
is
* Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches th
src/def/jquery.d.ts:3704
↓ 10 callers
Method
load
* Load data from the server and place the returned HTML into the matched element. * * @param url A string containing the URL to which the re
src/def/jquery.d.ts:1307
↓ 10 callers
Function
m
(a)
assets/lib/jquery.js:2
↓ 10 callers
Function
m
(a)
reference/jquery.js:2
↓ 10 callers
Method
merge
* Merge the contents of two arrays together into the first array. * * @param first The first array to merge, the elements of second added.
src/def/jquery.d.ts:1193
↓ 10 callers
Method
parent
* Get the parent of each element in the current set of matched elements, optionally filtered by a selector. * * @param selector A string co
src/def/jquery.d.ts:3807
↓ 10 callers
Method
resolveWith
* Resolve a Deferred object and call any doneCallbacks with the given context and args. * * @param context Context passed to the doneCallba
src/def/jquery.d.ts:509
↓ 10 callers
Function
s
(a,b)
assets/lib/jquery.js:3
↓ 10 callers
Function
s
(a,b)
reference/jquery.js:3
↓ 10 callers
Method
setMarioState
(state: MarioState)
src/figures/Mario.ts:73
↓ 10 callers
Method
setSpeed
(v: number)
src/figures/Enemy.ts:73
↓ 10 callers
Method
sign
(x: number)
src/def/interfaces.d.ts:2
↓ 9 callers
Method
play
(label: string)
src/def/interfaces.d.ts:45
↓ 9 callers
Method
playMusic
(label: string)
src/engine/Level.ts:165
↓ 9 callers
Method
setState
(state: SizeState)
src/figures/Mario.ts:91
↓ 9 callers
Function
w
(a,b)
assets/lib/require.js:12
↓ 8 callers
Function
B
(b,c)
assets/lib/require.js:7
↓ 8 callers
Function
C
(b,c,d,e)
assets/lib/require.js:8
↓ 8 callers
Method
Deferred
* A constructor function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback que
src/def/jquery.d.ts:995
↓ 8 callers
Function
LoaderError__Check_error_message_for_loader_stack
(childErr, newMessage)
assets/lib/system.src.js:69
↓ 8 callers
Method
abort
* Cancel the request. * * @param statusText A string passed as the textStatus parameter for the done callback. Default value: "canceled"
src/def/jquery.d.ts:175
↓ 8 callers
Function
createSymbol
(name)
assets/lib/system.src.js:19
↓ 8 callers
Method
fireWith
* Call all callbacks in a list with the given context and arguments. * * @param context A reference to the context in which the callbacks i
src/def/jquery.d.ts:236
↓ 8 callers
Function
g
()
assets/lib/jquery.js:2
↓ 8 callers
Method
isPlainObject
* Check to see if an object is a plain object (created using "{}" or "new Object"). * * @param obj The object that will be checked to see if
src/def/jquery.d.ts:1151
↓ 8 callers
Method
isXMLDoc
* Check to see if a DOM node is within an XML document (or is an XML document). * * @param node he DOM node that will be checked to see if i
src/def/jquery.d.ts:1163
↓ 8 callers
Method
now
* Return a number representing the current time.
src/def/jquery.d.ts:1203
↓ 8 callers
Method
pause
()
src/engine/Level.ts:232
↓ 7 callers
Function
G
(b)
assets/lib/require.js:7
↓ 7 callers
Function
H
(b)
assets/lib/require.js:7
↓ 7 callers
Function
n
(a,b,c)
assets/lib/jquery.js:2
↓ 7 callers
Function
n
(a,b,c)
reference/jquery.js:2
↓ 7 callers
Method
setCoins
(coins: number)
src/figures/Mario.ts:260
↓ 7 callers
Method
setLifes
(lifes: number)
src/figures/Mario.ts:276
↓ 7 callers
Method
setSize
(width: number, height: number)
src/figures/Figure.ts:114
↓ 7 callers
Method
text
* Get the combined text contents of each element in the set of matched elements, including their descendants.
src/def/jquery.d.ts:3394
↓ 6 callers
Function
a
(b,c)
assets/lib/jquery.js:2
↓ 6 callers
Method
addClass
* Adds the specified class(es) to each of the set of matched elements. * * @param className One or more space-separated classes to be added
src/def/jquery.d.ts:1331
↓ 6 callers
Method
ajax
* Perform an asynchronous HTTP (Ajax) request. * * @param settings A set of key/value pairs that configure the Ajax request. All settings ar
src/def/jquery.d.ts:689
next →
1–100 of 683, ranked by callers