From 3392f717a6338e372ca2ecc92f79d36513a913ed Mon Sep 17 00:00:00 2001 From: Jochum van der Ploeg Date: Thu, 5 Dec 2019 23:10:04 +0100 Subject: [PATCH] Updated code best on review --- lib/game.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/game.dart b/lib/game.dart index 6591138d6..742be3791 100644 --- a/lib/game.dart +++ b/lib/game.dart @@ -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.