|
|
@ -5,6 +5,7 @@ import 'package:flame/extensions.dart';
|
|
|
|
/// {@template board_dimensions}
|
|
|
|
/// {@template board_dimensions}
|
|
|
|
/// Contains various board properties and dimensions for global use.
|
|
|
|
/// Contains various board properties and dimensions for global use.
|
|
|
|
/// {@endtemplate}
|
|
|
|
/// {@endtemplate}
|
|
|
|
|
|
|
|
// TODO(allisonryan0002): consider alternatives for global dimensions.
|
|
|
|
class BoardDimensions {
|
|
|
|
class BoardDimensions {
|
|
|
|
/// Width and height of the board.
|
|
|
|
/// Width and height of the board.
|
|
|
|
static final size = Vector2(101.6, 143.8);
|
|
|
|
static final size = Vector2(101.6, 143.8);
|
|
|
|