line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Catan::Map::Tile::Forest; |
2
|
|
|
|
|
|
|
$Catan::Map::Tile::Forest::VERSION = '0.02'; |
3
|
3
|
|
|
3
|
|
15
|
use strict; |
|
3
|
|
|
1
|
|
6
|
|
|
3
|
|
|
|
|
76
|
|
|
1
|
|
|
|
|
841
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
4
|
3
|
|
|
3
|
|
15
|
use warnings; |
|
3
|
|
|
1
|
|
4
|
|
|
3
|
|
|
|
|
73
|
|
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
39
|
|
5
|
3
|
|
|
3
|
|
14
|
use parent 'Catan::Map::Tile'; |
|
3
|
|
|
1
|
|
4
|
|
|
3
|
|
|
|
|
14
|
|
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
6
|
3
|
|
|
3
|
|
889
|
use Catan::Resource::Lumber; |
|
3
|
|
|
1
|
|
7
|
|
|
3
|
|
|
|
|
335
|
|
|
1
|
|
|
|
|
51
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
255
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new |
9
|
|
|
|
|
|
|
{ |
10
|
16
|
|
|
16
|
1
|
27
|
my ($class, $q, $r, $number) = @_; |
11
|
16
|
|
|
|
|
55
|
my $self = $class->SUPER::new($q, $r, $number); |
12
|
16
|
|
|
|
|
27
|
$self->{name} = 'Forest'; |
13
|
16
|
|
|
|
|
26
|
$self->{code} = 'FO'; |
14
|
16
|
|
|
|
|
32
|
return $self; |
15
|
|
|
|
|
|
|
} |
16
|
16
|
|
|
16
|
0
|
69
|
sub yields { Catan::Resource::Lumber->new($_[1]) } |
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |