mirror of
https://git.leinelab.org/Mal/mr-crocs-adventures.git
synced 2025-09-11 02:57:36 +02:00
Intelligent graphic sets implemented
This commit is contained in:
@@ -79,7 +79,7 @@ export default class Level
|
||||
let loader = new FileLoader(filename);
|
||||
loader.onLoad = (data) => {
|
||||
const json = JSON.parse(data);
|
||||
const level = new Level(Terrain.createFromJson(json));
|
||||
const level = new Level(Terrain.createFromJson(json));
|
||||
level.setGravity(json.gravity);
|
||||
|
||||
callback(level);
|
||||
|
||||
Reference in New Issue
Block a user