3D working
This commit is contained in:
@ -14,8 +14,8 @@ class GameConfig
|
||||
async init()
|
||||
{
|
||||
let response = await this.client._get("/api/games/");
|
||||
|
||||
if (response.status !== 200)
|
||||
|
||||
if (response.status !== 200)
|
||||
return response.status;
|
||||
|
||||
let response_data = await response.json();
|
||||
@ -24,7 +24,7 @@ class GameConfig
|
||||
* @type {Number}
|
||||
*/
|
||||
this.size_x = response_data.MAP_SIZE_X;
|
||||
|
||||
|
||||
/**
|
||||
* @type {Number}
|
||||
*/
|
||||
@ -86,4 +86,4 @@ class GameConfig
|
||||
}
|
||||
}
|
||||
|
||||
export { GameConfig };
|
||||
export { GameConfig };
|
||||
|
Reference in New Issue
Block a user