Decorator

Decorator

Abstract base class for terrain decorators.

A decorator wraps another terrain and augments its behavior. It uses the template-method pattern: the base class delegates all terrain callbacks to the wrapped terrain first, then calls *Internal hook methods for the decorator subclass.

The wrapped terrain's flags, name, and symbol are inherited unless overridden.