line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Settlers::Map::Tile::Pastures; |
2
|
|
|
|
|
|
|
$Settlers::Map::Tile::Pastures::VERSION = '0.07'; |
3
|
3
|
|
|
3
|
|
14
|
use strict; |
|
3
|
|
|
1
|
|
5
|
|
|
3
|
|
|
|
|
73
|
|
|
1
|
|
|
|
|
912
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
20
|
|
4
|
3
|
|
|
3
|
|
12
|
use warnings; |
|
3
|
|
|
1
|
|
5
|
|
|
3
|
|
|
|
|
75
|
|
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
5
|
3
|
|
|
3
|
|
12
|
use parent 'Settlers::Map::Tile'; |
|
3
|
|
|
1
|
|
6
|
|
|
3
|
|
|
|
|
14
|
|
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
6
|
3
|
|
|
3
|
|
876
|
use Settlers::Resource::Wool; |
|
3
|
|
|
1
|
|
6
|
|
|
3
|
|
|
|
|
308
|
|
|
1
|
|
|
|
|
55
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
288
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new |
9
|
|
|
|
|
|
|
{ |
10
|
24
|
|
|
24
|
1
|
92
|
my ($class, $q, $r, $number) = @_; |
11
|
24
|
|
|
|
|
72
|
my $self = $class->SUPER::new($q, $r, $number); |
12
|
24
|
|
|
|
|
44
|
$self->{name} = 'Pastures'; |
13
|
24
|
|
|
|
|
41
|
$self->{code} = 'P'; |
14
|
24
|
|
|
|
|
51
|
return $self; |
15
|
|
|
|
|
|
|
} |
16
|
43
|
|
|
43
|
0
|
166
|
sub yields { Settlers::Resource::Wool->new($_[1]) } |
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |