| 1 | package Games::Go::Cinderblock::MoveAttempt; | ||
| 2 | 6 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | 6 | has rulemap => ( | |
| 5 | isa => 'Games::Go::Cinderblock::Rulemap', | ||
| 6 | is => 'ro', #shouldn't change. | ||
| 7 | required => 1, | ||
| 8 | ); | ||
| 9 | 6 | has basis_state=> ( | |
| 10 | is => 'ro', | ||
| 11 | required => 1, | ||
| 12 | isa => 'Games::Go::Cinderblock::State', | ||
| 13 | ); | ||
| 14 | |||
| 15 | 6 | has node => ( | |
| 16 | is => 'ro', | ||
| 17 | required => 1, | ||
| 18 | ); | ||
| 19 | 6 | has color => ( | |
| 20 | is => 'ro', | ||
| 21 | required => 1, | ||
| 22 | isa => 'Str', | ||
| 23 | ); | ||
| 24 | |||
| 25 | 6 | 1; | |
| 26 | __END__ | ||