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

Function getAscii

code/main/Database.ts:26–31  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

24
25 // Public getters
26 export function getAscii(key: string): string[]{
27 if(asciiMap[key] == null)
28 console.log("Error : trying to access the unknown ascii art \"" + key + "\"");
29
30 return asciiMap[key];
31 }
32
33 export function getAsciiHeight(key: string): number{
34 return asciiSizeMap[key].y;

Callers 1

getPartOfAsciiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected