#import "annual.h"

@implementation Annual
- (id) initWithPosition:(int)p andGrowthRate:(int)gr andLifespan:(int)ls andLifecycle:(NSString *)s
{
  self = [super initWithPosition:p andGrowthRate:gr andLifecycle:s];
  if (self)
    {
      lifespan = ls;
    }
  return self;
}

- (BOOL) alive
{
  return age < lifespan;
}

@end
