 
 		@state = 'main-menu'
 
-		# @events = new EventEmitter2
-
 		@onAny (a...) ->
 			winston.silly "Event: '#{@event}'; ", a
 

			(next) =>
				switch @state
					when 'main-menu'
						#@events
						@
						.once 'key.s', =>
							@goState 'game'
							next()



		@transitionToMap (MapGenerator.generateBigRoom 80, 25), 2, 2

		@on 'key.z', =>
			newMap = (MapGenerator.generateCellularAutomata 80, 21)
			[startX, startY] = []

