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

Method createTexts

code/main/DeveloperEntity.ts:119–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 }
118
119 public createTexts(): void{
120 // Empty the array
121 this.texts = [];
122
123 // At first we're working on the first text
124 this.indexOfCurrentText = 0;
125
126 // Add "Hello"
127 this.texts.push(new DeveloperEntityText(20, new Pos(3, 3), 110, Database.getAscii("places/quests/developer/hello")));
128
129 // Add "I'm glad you made it so far"
130 this.texts.push(new DeveloperEntityText(32, new Pos(3, 3), 150, Database.getAscii("places/quests/developer/imgladyoumadeitsofar")));
131
132 // Add "<3"
133 this.texts.push(new DeveloperEntityText(9999999999999, new Pos(8, 10), 100, Database.getAscii("places/quests/developer/love")));
134 }
135
136 public playerUsedBlackMagic(): void{
137 // We use a blackhole on the player

Callers 1

constructorMethod · 0.95

Calls 1

getAsciiMethod · 0.80

Tested by

no test coverage detected