annotations
This commit is contained in:
@@ -8,7 +8,7 @@ import path from 'path';
|
||||
const collection = 'assets';
|
||||
|
||||
/**
|
||||
* Application layer manager
|
||||
* Game objects manager
|
||||
*/
|
||||
class GameObjectsManager{
|
||||
name = 'gameObject';
|
||||
@@ -157,7 +157,7 @@ class GameObjectsManager{
|
||||
}
|
||||
|
||||
/**
|
||||
* GameObject entity
|
||||
* GameObject entity, can be: panorama picture, 3d environment, 3d object, 2d object (picture), a player (3d), audio or video asset
|
||||
*/
|
||||
class GameObject {
|
||||
/**
|
||||
@@ -166,9 +166,16 @@ class GameObject {
|
||||
*/
|
||||
name = null;
|
||||
|
||||
/**
|
||||
* Game object type
|
||||
* @type string
|
||||
*/
|
||||
type = null;
|
||||
|
||||
|
||||
/**
|
||||
* Associated file
|
||||
* @type File
|
||||
*/
|
||||
file = null;
|
||||
}
|
||||
|
||||
|
||||
@@ -77,6 +77,12 @@ class Rule {
|
||||
*/
|
||||
name = null;
|
||||
|
||||
/**
|
||||
* Rule definition
|
||||
* @type Object
|
||||
*/
|
||||
name = null;
|
||||
|
||||
}
|
||||
|
||||
export { RulesManager }
|
||||
Reference in New Issue
Block a user