Posted July 23, 2022 by Kottler
There are 4 types of movements: still, horizontal, circular and wave.
There are 2 types of lilypads: normal and sinking.
This is how it is represented:
This is how they work and how they are implemented (still movement was already seen).
Horizontal:
Implementation of Move():
Circular:
Implementation:
Wave:
Implementation:
Sinking with still movement:
Implementation: