line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Catan::Map::Tile::Forest; |
2
|
|
|
|
|
|
|
$Catan::Map::Tile::Forest::VERSION = '0.03'; |
3
|
3
|
|
|
3
|
|
15
|
use strict; |
|
3
|
|
|
1
|
|
6
|
|
|
3
|
|
|
|
|
76
|
|
|
1
|
|
|
|
|
719
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
34
|
|
4
|
3
|
|
|
3
|
|
13
|
use warnings; |
|
3
|
|
|
1
|
|
4
|
|
|
3
|
|
|
|
|
74
|
|
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
5
|
3
|
|
|
3
|
|
12
|
use parent 'Catan::Map::Tile'; |
|
3
|
|
|
1
|
|
6
|
|
|
3
|
|
|
|
|
14
|
|
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
6
|
3
|
|
|
3
|
|
883
|
use Catan::Resource::Lumber; |
|
3
|
|
|
1
|
|
6
|
|
|
3
|
|
|
|
|
362
|
|
|
1
|
|
|
|
|
52
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
197
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new |
9
|
|
|
|
|
|
|
{ |
10
|
24
|
|
|
24
|
1
|
44
|
my ($class, $q, $r, $number) = @_; |
11
|
24
|
|
|
|
|
66
|
my $self = $class->SUPER::new($q, $r, $number); |
12
|
24
|
|
|
|
|
37
|
$self->{name} = 'Forest'; |
13
|
24
|
|
|
|
|
44
|
$self->{code} = 'FO'; |
14
|
24
|
|
|
|
|
38
|
return $self; |
15
|
|
|
|
|
|
|
} |
16
|
57
|
|
|
57
|
0
|
237
|
sub yields { Catan::Resource::Lumber->new($_[1]) } |
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |