Liquid (class)

This class provides fields/functions for managing water/quicksand boxes in the current level.

Instance functions
These fields and functions are part of Liquid Objects and have to be called for that object. Trying to call them from the static Liquid class will result in an error. Example (feel free to copy it into your lua file to see how it works):