lib/api/entities/FriendlyGhost.js

  1. const Entity = require('../Entity');
  2. class FriendlyGhost extends Entity {
  3. /**
  4. * Creates an instance of {@link FriendlyGhost}, which is implemented by the underlying C# class `AngryOshiro` in Celeste.
  5. * @constructor
  6. * @extends Entity
  7. * @param {Object} [data={}] - An object containing the attributes of the {@link FriendlyGhost} to be created
  8. */
  9. constructor(data = {}) {
  10. return new Entity('friendlyGhost', Object.assign({
  11. // fill in default property key/values specific to this Entity
  12. }, data));
  13. }
  14. }
  15. module.exports = FriendlyGhost;