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

Method getRunningSpeed

code/main/Wolf.ts:100–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98
99 // Private methods
100 private getRunningSpeed(): number{
101 return (this.isLookingLeft? -1:1);
102 }
103
104 private reDrawArea(): void{
105 this.getRenderArea().drawArray(Database.getAscii("places/quests/forest/wolf/" + (this.isLookingLeft? "left":"right") + (this.isStanding? "Standing":"Running")));

Callers 2

updateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected