oboy/src/core/state.ml
Fabien Freling a17a03aaef Add state.ml
2019-05-12 11:56:31 +02:00

9 lines
187 B
OCaml

(* State of the world, contains all the required information at any point *)
type t = {
cartridge : option Cartridge.t;
}
(* Global reference *)
let state = ref {
cartridge = None
}