mirror of https://github.com/flutter/pinball.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
499 B
19 lines
499 B
import 'package:equatable/equatable.dart';
|
|
import 'package:flame/palette.dart';
|
|
|
|
/// {@template character_theme}
|
|
/// Template for creating character themes.
|
|
///
|
|
/// Any character specific game pieces should have a getter specified here so
|
|
/// their corresponding assets can be retrieved for the game.
|
|
/// {@endtemplate}
|
|
abstract class CharacterTheme extends Equatable {
|
|
/// {@macro character_theme}
|
|
const CharacterTheme();
|
|
|
|
Color get ballColor;
|
|
|
|
@override
|
|
List<Object?> get props => [];
|
|
}
|