bubbletwist/lib/game/stone/special_stone.dart

19 lines
409 B
Dart
Raw Permalink Normal View History

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';
abstract class SpecialStone extends Stone {
final Board board;
2024-06-19 23:40:31 +02:00
SpecialStone(this.board) {
setColor(StoneColors.special);
}
/// Returns the associated number of the special stone
int getSpecialStoneNumber();
/// Performs the action of the special stone
void performSpecialStoneAction();
}