/// <summary> /// Internal function that sets up the view /// </summary> /// <exception cref="GameViewInitException">Will be thrown if the view's already initialized</exception> public void Added(StateGameManager manager, string id) { if (this.manager == null) { this.manager = manager; this.id = id; inputService = new UserInputManager(); } else { throw new GameViewInitException(); } }
internal GameCollectionService(StateGameManager parent) { collection = new Dictionary <string, ManageableType>(); GameManager = parent; }