MCPcopy Create free account
hub / github.com/TodePond/ScreenPond / makeAddress

Function makeAddress

source/address.js:4–7  ·  view source on GitHub ↗
(colour, number)

Source from the content-addressed store, hash-verified

2// ADDRESS //
3//=========//
4export const makeAddress = (colour, number) => {
5 const address = { colour, number };
6 return address;
7};
8
9export const getScreenFromAddress = (address, world = undefined) => {
10 if (address === undefined) return world;

Callers 4

moveAddressToBackFunction · 0.90
makePickFunction · 0.90
pickInScreenFunction · 0.90
getAddressFromScreenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected