2024-06-19 23:40:31 +02:00
|
|
|
import 'package:bubbletwist/enums/stone_color.dart';
|
|
|
|
|
2024-06-17 16:24:51 +02:00
|
|
|
import '../board.dart';
|
|
|
|
import 'stone.dart';
|
2024-06-16 23:56:48 +02:00
|
|
|
|
|
|
|
abstract class SpecialStone extends Stone {
|
|
|
|
final Board board;
|
|
|
|
|
2024-06-19 23:40:31 +02:00
|
|
|
SpecialStone(this.board) {
|
|
|
|
setColor(StoneColors.special);
|
|
|
|
}
|
2024-06-16 23:56:48 +02:00
|
|
|
|
|
|
|
/// Returns the associated number of the special stone
|
|
|
|
int getSpecialStoneNumber();
|
|
|
|
|
|
|
|
/// Performs the action of the special stone
|
|
|
|
void performSpecialStoneAction();
|
|
|
|
}
|