(key: string)
| 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; |