()
| 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 |