public LevelFactory(ContentManager content, IBoard board, DoodadFactory doodadFactory, Session session) { this.content = content; this.board = board; this.doodadFactory = doodadFactory; this.session = session; }
public SessionManager(Session session) { this.session = session; this.directoryPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MoveTheCheese"); this.sessionPath = Path.Combine(this.directoryPath, "Session.xml"); }