line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Settlers::Map::Tile::Forest; |
2
|
|
|
|
|
|
|
$Settlers::Map::Tile::Forest::VERSION = '0.07'; |
3
|
3
|
|
|
3
|
|
14
|
use strict; |
|
3
|
|
|
1
|
|
5
|
|
|
3
|
|
|
|
|
73
|
|
|
1
|
|
|
|
|
892
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
22
|
|
4
|
3
|
|
|
3
|
|
14
|
use warnings; |
|
3
|
|
|
1
|
|
4
|
|
|
3
|
|
|
|
|
72
|
|
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
5
|
3
|
|
|
3
|
|
13
|
use parent 'Settlers::Map::Tile'; |
|
3
|
|
|
1
|
|
4
|
|
|
3
|
|
|
|
|
15
|
|
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
6
|
3
|
|
|
3
|
|
841
|
use Settlers::Resource::Lumber; |
|
3
|
|
|
1
|
|
16
|
|
|
3
|
|
|
|
|
299
|
|
|
1
|
|
|
|
|
64
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
286
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new |
9
|
|
|
|
|
|
|
{ |
10
|
24
|
|
|
24
|
1
|
44
|
my ($class, $q, $r, $number) = @_; |
11
|
24
|
|
|
|
|
65
|
my $self = $class->SUPER::new($q, $r, $number); |
12
|
24
|
|
|
|
|
47
|
$self->{name} = 'Forest'; |
13
|
24
|
|
|
|
|
38
|
$self->{code} = 'FO'; |
14
|
24
|
|
|
|
|
51
|
return $self; |
15
|
|
|
|
|
|
|
} |
16
|
65
|
|
|
65
|
0
|
261
|
sub yields { Settlers::Resource::Lumber->new($_[1]) } |
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |