type Model =
{ Player : Sprite option
Elapsed : TimeSpan
Game: Game option
SpriteBatch: SpriteBatch option
}
I seem to get to a point in interpreting where the model in null in the env, this is where the view contains access to dotted external types (model.Game) :
let view (model: Model) (dispatch: Msg -> unit) =
printfn "updating view 5"
match model.Game with
| Some game -> game.GraphicsDevice.Clear Color.Blue
| _ -> ()
I have a model like this:
I seem to get to a point in interpreting where the model in null in the env, this is where the view contains access to dotted external types (
model.Game
) :Any pointers?