use Moops; role Enemy { has wounds => (is => 'ro', isa => Int); } class Rat with Enemy; class Cat with Enemy;