// {tap}, Pay 1 life: Add {G} or {W} to your mana pool.
Ability ability1 = new GreenManaAbility();
ability1.addCost(new PayLifeCost(1));
this.addAbility(ability1);
Ability ability2 = new WhiteManaAbility();
ability2.addCost(new PayLifeCost(1));
this.addAbility(ability2);
// {1}, {tap}, Sacrifice Horizon Canopy: Draw a card.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), new GenericManaCost(1));
ability.addCost(new TapSourceCost());
ability.addCost(new SacrificeSourceCost());