didEnter property

bool didEnter
getter/setter pair

bool didEnter; is declaring a property named didEnter of type bool in the Region class. This property will hold a boolean value indicating whether the region was entered or not.

Implementation

bool didEnter;