lib/entity.js
function Entity(param) {
  EventEmitter2.apply(this, arguments);
  Entity.prototype.init.apply(this, arguments);
}
function Entity(param) {
  EventEmitter2.apply(this, arguments);
  Entity.prototype.init.apply(this, arguments);
}
function Entity ( param ) { EventEmitter2 . apply ( this , arguments ) ; Entity . prototype . init . apply ( this , arguments ) ; }
Entity, basic element in rotor-web engine.
@param {object} param
@param {string} param.name - Entity name. If undefined, name will be 'Entity:id'
@constructor
Entity basic element in rotor - web engine .