contains method

  1. @override
bool contains(
  1. CharacterClass other
)
override

contains another class

Implementation

@override
bool contains(CharacterClass other) {
  return other is UpperLetters;
}