From 8714c3befcf3f9923cf72e8d992ba6d963c0e6e7 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 4 Sep 2016 15:52:17 +0200 Subject: Upgrade to elm 0.17.1 --- src/Model/Game.elm | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 src/Model/Game.elm (limited to 'src/Model/Game.elm') diff --git a/src/Model/Game.elm b/src/Model/Game.elm deleted file mode 100644 index 97fbc4c..0000000 --- a/src/Model/Game.elm +++ /dev/null @@ -1,40 +0,0 @@ -module Model.Game - ( Game - , initialGame - ) where - -import Random exposing (..) -import Char exposing (KeyCode) -import Time exposing (Time) -import Set -import Set exposing (Set) - -import Model.Player exposing (..) -import Model.Cloud exposing (..) -import Model.Vec2 exposing (Vec2) -import Model.Config exposing (..) -import Model.Round exposing (Round) -import Model.Board exposing (initBoardSize) - -type alias Game = - { elapsedTime : Float - , boardSize : Vec2 - , keysDown : Set KeyCode - , currentScore : Int - , player : Player - , cloud : Cloud - , rounds : List Round - , seed : Seed - } - -initialGame : Seed -> Game -initialGame seed = - { elapsedTime = 0 - , boardSize = initBoardSize - , keysDown = Set.empty - , currentScore = 0 - , player = initPlayer - , cloud = initCloud - , rounds = [] - , seed = seed - } -- cgit v1.2.3