in reply to Change the parent of an instance
sub is_carryable { my $self = shift; if ( $self->is_alive() ) { # can't carry a live orc! return 0; } else { # dead body return 1; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Change the parent of an instance
by muba (Priest) on May 11, 2004 at 18:38 UTC | |
by perrin (Chancellor) on May 11, 2004 at 18:44 UTC |