public override void Load(Dictionary <string, object> parameters) { State = parameters; fileScene.Load(); base.Load(parameters); }
public override void Load(Dictionary <string, object> parameters) { oldMouseState = Mouse.GetState(); State = parameters; grid = ((JArray)State["grid"]).ToObject <int[, ]>(); fileScene.Load(); base.Load(parameters); }
public override void Load(Dictionary <string, object> parameters) { State = parameters; chest.IsOpen = (bool)State["chest_open"]; itemBook.IsTaken = (bool)State["book_taken"]; crate.IsOpen = (bool)State["crate_open"]; itemGoldBlocks.IsTaken = (bool)State["gold_blocks_taken"]; fileScene.Load(); base.Load(parameters); }