The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Games::Lacuna::Task::Role::Waste - Waste helper methods

SYNOPSIS

    package Games::Lacuna::Task::Action::MyTask;
    use Moose;
    extends qw(Games::Lacuna::Task::Action);
    with qw(Games::Lacuna::Task::Role::Waste);

DESCRIPTION

This role provides helper method to work with waste diposal

METHODS

disposeable_waste

 my $quantity = $self->disposeable_waste($planet_stats);

Returns the amout of waste that is available for disposal

convert_waste

 $self->convert_waste($planet_stats,$quantity);

Produces the requested amout of waste by dumping resources from storage