waves property

List<Wave> get waves

The waves that will be moving across the screen.

This list is not directly modifiable. Call the add, insert, and remove methods to modify the list.

Implementation

List<Wave> get waves => List<Wave>.unmodifiable(_waves);