Constructor
new SmallChicken()
Creates an instance of SmallChicken.
Initializes the small chicken with default values and loads the images.
- Source:
Methods
animate()
Animates the small chicken by moving it to the left and playing the walking animation.
- Source:
isDeadChicken()
Checks if the small chicken is dead and plays the dead animation if it is.
Stops the chicken's movement and makes it fall down.
- Source:
moveLeftChicken()
Moves the small chicken to the left.
- Source:
walkChickenImages()
Plays the walking animation for the small chicken.
- Source: