BaseWorldProvider
in package
implements
WorldProvider
Interfaces, Classes, Traits and Enums
Table of Contents
- $path : string
- $worldData : WorldData
- __construct() : mixed
- getPath() : string
- getWorldData() : WorldData
- Returns information about the world
- loadLevelData() : WorldData
Properties
$path
protected
string
$path
$worldData
protected
WorldData
$worldData
Methods
__construct()
public
__construct(string $path) : mixed
Parameters
- $path : string
Return values
mixed —getPath()
public
getPath() : string
Return values
string —getWorldData()
Returns information about the world
public
getWorldData() : WorldData
Return values
WorldData —loadLevelData()
protected
abstract loadLevelData() : WorldData