this.color.setGreen(true);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
// Flinthoof Boar gets +1/+1 as long as you control a Mountain.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceWhileControlsEffect(filter, 1, 1)));
// {R}: Flinthoof Boar gains haste until end of turn.
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
new GainAbilitySourceEffect(HasteAbility.getInstance(), Duration.EndOfTurn),
new ManaCostsImpl("{R}")));