MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / constructor

Method constructor

code/main/RenderLocation.ts:8–11  ·  view source on GitHub ↗
(locationString: string, scrolling: boolean = false)

Source from the content-addressed store, hash-verified

6
7 // Constructor
8 constructor(locationString: string, scrolling: boolean = false){ // Not activated by default
9 this.setLocationString(locationString);
10 this.setScrolling(scrolling);
11 }
12
13 // Public methods
14 public render(renderArea: RenderArea): void{

Callers

nothing calls this directly

Calls 2

setLocationStringMethod · 0.95
setScrollingMethod · 0.95

Tested by

no test coverage detected