Пример #1
0
int main() {
	MazeGame game;
	
	Maze* m = game.CreateMaze();
	Room* r1 = m->RoomNo(1);
	r1->Enter();
	return 0;
}
Пример #2
0
int main() {
	Maze* maze;
	MazeGame game;
	StandardMazeBuilder builder;

	game.CreateMaze(builder);
	maze = builder.GetMaze();
	Room* room = maze->RoomNo(1);
	room->Enter();
	return 0;
}