Game model

This commit is contained in:
Tony Bark 2021-05-28 06:13:59 -04:00
parent 9c707d1e47
commit 36c7e3d59b
4 changed files with 78 additions and 23 deletions

15
lib/game_model.dart Normal file
View file

@ -0,0 +1,15 @@
class GameModel {
static const SLIDER_CONST = 50;
static const SCORE_START = 0;
static const ROUND_START = 0;
GameModel(this.target,
[this.current = SLIDER_CONST,
this.totalScore = SCORE_START,
this.round = ROUND_START]);
int? target;
int? current;
int? totalScore;
int? round;
}