isTheEnd method

bool isTheEnd()

Used to notify the Player that the Story has ended.

Implementation

bool isTheEnd() {
  return endType != null;
}