MCPcopy Create free account
hub / github.com/asweigart/PythonStdioGames / getFeetStr

Method getFeetStr

javascript_games/ducklings.js:214–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212 }
213
214 getFeetStr() {
215 // Returns the string of the duckling's feet.
216 if (this.body === CHUBBY) {
217 return ' ^^ ';
218 } else if (this.body === VERY_CHUBBY) {
219 return ' ^ ^ ';
220 }
221 }
222
223 getNextBodyPart() {
224 // Calls the appropriate display method for the next body

Callers 1

getNextBodyPartMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected