Updated code best on review

This commit is contained in:
Jochum van der Ploeg
2019-12-05 23:10:04 +01:00
parent eee21c80af
commit 3392f717a6

View File

@ -25,6 +25,7 @@ abstract class Game {
/// Returns the game background color.
/// By default it will return a black color.
/// It cannot be changed at runtime, because the game widget does not get rebuild when this value changes.
Color backgroundColor() => const Color(0xFF000000);
/// Implement this method to update the game state, given that a time [t] has passed.