15 lines
315 B
Dart
15 lines
315 B
Dart
|
import '../board.dart';
|
||
|
import 'stone.dart';
|
||
|
|
||
|
abstract class SpecialStone extends Stone {
|
||
|
final Board board;
|
||
|
|
||
|
SpecialStone(this.board);
|
||
|
|
||
|
/// Returns the associated number of the special stone
|
||
|
int getSpecialStoneNumber();
|
||
|
|
||
|
/// Performs the action of the special stone
|
||
|
void performSpecialStoneAction();
|
||
|
}
|