Added player cursor
This commit is contained in:
parent
083619cc87
commit
546da85814
8 changed files with 60 additions and 31 deletions
|
@ -8,12 +8,10 @@ module Game ( Bullet(..)
|
|||
|
||||
import Level
|
||||
import Tank
|
||||
import Texture
|
||||
|
||||
import Control.Monad
|
||||
import Control.Monad.State
|
||||
import Data.Fixed
|
||||
import qualified Data.Map as M
|
||||
|
||||
|
||||
data Bullet = Bullet
|
||||
|
@ -29,7 +27,6 @@ data GameState = GameState
|
|||
{ level :: !Level
|
||||
, tanks :: ![Tank]
|
||||
, bullets :: ![Bullet]
|
||||
, textures :: !(M.Map Texture TextureObject)
|
||||
} deriving (Show)
|
||||
|
||||
newtype Game a = Game (StateT GameState IO a)
|
||||
|
|
Reference in a new issue