24 lines
404 B
JavaScript
24 lines
404 B
JavaScript
|
function Game() {}
|
||
|
|
||
|
/**
|
||
|
* Games are collections of scenes and physics worlds
|
||
|
* @param id
|
||
|
* @param name
|
||
|
* @param path
|
||
|
* @param scenes THREE.Scene[]
|
||
|
* @param worlds GameLib.D3.Physics.World[]
|
||
|
* @constructor
|
||
|
*/
|
||
|
Game = function(
|
||
|
id,
|
||
|
name,
|
||
|
path,
|
||
|
scenes,
|
||
|
worlds
|
||
|
) {
|
||
|
this.id = id;
|
||
|
this.name = name;
|
||
|
this.path = path;
|
||
|
this.scenes = scenes;
|
||
|
this.worlds = worlds;
|
||
|
};
|