Table of Contents

Class QuakeMapLoader

Namespace
PopcorningGuineaPig.Engine.Quake
Assembly
PopcorningGuineaPig.Engine.dll

Provides functionality for loading and parsing Quake map files.

public static class QuakeMapLoader
Inheritance
QuakeMapLoader
Inherited Members

Methods

CreateTestMap()

Creates a simple test map for development and testing.

public static QuakeMap CreateTestMap()

Returns

QuakeMap

A QuakeMap object containing a simple test environment.

LoadMap(string)

Loads a Quake map from the specified file path.

public static QuakeMap LoadMap(string filePath)

Parameters

filePath string

The path to the map file.

Returns

QuakeMap

A QuakeMap object containing the loaded map data.

SaveMap(QuakeMap, string)

Saves a Quake map to the specified file path.

public static bool SaveMap(QuakeMap map, string filePath)

Parameters

map QuakeMap

The QuakeMap object to save.

filePath string

The path to save the map file to.

Returns

bool

True if the map was saved successfully, false otherwise.