bubbletwist/lib/game/stone/special_stone.dart

19 lines
409 B
Dart

import 'package:bubbletwist/enums/stone_color.dart';
import '../board.dart';
import 'stone.dart';
abstract class SpecialStone extends Stone {
final Board board;
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();
}