MCPcopy Create free account

hub / github.com/tobspr-games/shapez.io / functions

Functions2,842 in github.com/tobspr-games/shapez.io

MethodrenderToHTMLElement
* Renders into an html element * @param {HTMLElement} element * @param {number} w * @param {number} h
src/js/core/sprites.js:288
Methodreport
()
src/js/game/hud/parts/puzzle_play_metadata.js:68
MethodrequestClose
()
src/js/game/hud/parts/unlock_notification.js:128
MethodrequestImportSavegame
* Asks the user to import a savegame
src/js/states/main_menu.js:249
MethodrequireAll
(...args)
src/js/core/explained_result.js:31
MethodrerenderVariants
* Rerenders the variants displayed
src/js/game/hud/parts/building_placer.js:177
Methodreseed
* Re-seeds the generator * @param {number|string} seed
src/js/core/rng.js:80
MethodresetBindings
()
src/js/states/keybindings.js:171
MethodresetPuzzle
()
src/js/game/hud/parts/puzzle_editor_settings.js:71
MethodresetPuzzle
()
src/js/game/hud/parts/puzzle_play_settings.js:36
FunctionresizeCanvas
(canvas, w, h, setStyle = true)
src/js/core/dpi_manager.js:85
FunctionresizeCanvasAndClear
(canvas, context, w, h)
src/js/core/dpi_manager.js:106
MethodrotateBlueprint
* Attempts to rotate the current blueprint
src/js/game/hud/parts/blueprint_placer.js:165
FunctionrotateDirectionalObject
(obj, rotation)
src/js/core/utils.js:637
MethodrotateInplaceFastMultipleOf90
* Rotates this vector * @param {number} angle * @returns {Vector} this vector
src/js/core/vector.js:455
MethodrunBeforeMethod
* Runs before a method on a given class * @template {constructable} C the class * @template {C["prototype"]} P the prototype of said class
src/js/mods/mod_interface.js:468
MethodsavedGames
()
src/js/states/main_menu.js:513
FunctionscriptFail
(error)
gulp/bundle-loader.js:84
Methodserialize
()
src/js/game/shape_definition.js:109
Methodserialize
()
src/js/game/items/shape_item.js:17
Methodserialize
()
src/js/game/items/boolean_item.js:16
Methodserialize
* Serializes the pinned shapes
src/js/game/hud/parts/pinned_shapes.js:46
Methodserialize
* Serializes the waypoints
src/js/game/hud/parts/waypoints.js:72
Methodserialize
* Serializes a given raw value * @param {any} value * @abstract
src/js/savegame/serialization_data_types.js:53
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:146
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:181
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:221
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:268
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:303
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:337
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:380
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:429
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:465
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:549
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:593
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:657
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:742
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:794
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:863
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:919
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:980
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:1030
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:1098
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:1150
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:1219
Methodserialize
(value)
src/js/savegame/serialization_data_types.js:1278
MethodserializeSimple
* Creates a simple representation of the vector
src/js/core/vector.js:628
MethodserializeTile
* Serializes the vector to a string * @returns {string}
src/js/core/vector.js:621
MethodserializeTileToInt
* @returns {number}
src/js/core/vector.js:635
MethodsetFullscreen
(flag)
src/js/platform/electron/wrapper.js:105
MethodsetIsHoveredClass
* Actually sets the 'hovered' class * @param {boolean} isHovered
src/js/game/hud/dynamic_dom_attach.js:86
MethodsetLastUpdate
* Updates the last update field so we can send the savegame to the server, * WITHOUT Saving!
src/js/savegame/savegame.js:258
MethodsetLeft
* Sets the left side of the rect without scaling it * @param {number} left
src/js/core/rectangle.js:169
MethodsetPan
* Sets the camera pan, every frame the camera will move by this amount * @param {Vector} pan
src/js/game/camera.js:163
MethodsetSaveImportance
(importance)
src/js/game/automatic_save.js:27
MethodsetSeed
* Updates the seed * @param {number} seed
src/js/core/rng.js:126
MethodsetSilent
(value)
src/js/core/tracked_state.js:32
MethodsetSpeed
(speed)
src/js/game/time/game_time.js:180
MethodsetTileContent
* Sets the tiles content * @param {Vector} tile * @param {Entity} entity
src/js/game/map.js:214
MethodsetTop
* Sets the top side of the rect without scaling it * @param {number} top
src/js/core/rectangle.js:159
MethodsetUserContext
* Sets the player name for analytics * @param {string} userName
src/js/platform/analytics.js:25
MethodsetUserContext
(userName)
src/js/platform/browser/google_analytics.js:16
MethodsetVolume
(volume)
src/js/platform/browser/sound.js:161
MethodsetupEntityComponents
(entity)
mod_examples/notification_blocks.js:136
MethodsetupEntityComponents
(entity)
mod_examples/add_building_flipper.js:77
MethodsetupEntityComponents
(entity)
mod_examples/add_building_basic.js:35
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/stacker.js:58
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/balancer.js:146
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/item_producer.js:34
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/storage.js:55
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/display.js:46
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/analyzer.js:59
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/constant_signal.js:58
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/miner.js:79
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/comparator.js:52
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/cutter.js:86
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/filter.js:63
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/wire.js:137
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/mixer.js:58
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/wire_tunnel.js:64
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/virtual_processor.js:179
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/block.js:38
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/reader.js:64
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/underground_belt.js:186
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/constant_producer.js:42
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/logic_gate.js:163
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/trash.js:73
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/goal_acceptor.js:42
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/transistor.js:85
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/rotater.js:113
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/painter.js:118
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/belt.js:134
MethodsetupEntityComponents
* Creates the entity at the given location * @param {Entity} entity
src/js/game/buildings/lever.js:51
Methodshare
()
src/js/game/hud/parts/puzzle_play_metadata.js:63
MethodshouldPauseGame
* Should return false if the game should be paused * @returns {boolean}
src/js/game/hud/base_hud_part.js:64
MethodshouldPauseGame
()
src/js/game/hud/parts/settings_menu.js:71
MethodshouldPauseGame
()
src/js/game/hud/parts/modal_dialogs.js:37
MethodshouldPauseGame
()
src/js/game/hud/parts/tutorial_hints.js:35
MethodshouldPauseRendering
* Should return true if the widget has a modal dialog opened and thus * the game does not need to update / redraw * @returns {boolean}
src/js/game/hud/base_hud_part.js:56
MethodshouldPauseRendering
()
src/js/game/hud/parts/settings_menu.js:75
← previousnext →2,601–2,700 of 2,842, ranked by callers