void Update() { //check for mode switches //input update loops for each mode: if (editMode == Editing.Tiles) { tileEditor.UpdateActiveShape(); tileEditor.UpdateScrolledTile(); tileEditor.ToggleGridLines(); } }